mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: platform: win32: set IMAGEHLP_LINE64 structure size as required in dbghelp docs on MSDN
This commit is contained in:
@@ -75,7 +75,7 @@ static void Sys_StackTrace( PEXCEPTION_POINTERS pInfo )
|
||||
DWORD dline = 0;
|
||||
DWORD options = SymGetOptions();
|
||||
CONTEXT context = *pInfo->ContextRecord;
|
||||
IMAGEHLP_LINE64 line;
|
||||
IMAGEHLP_LINE64 line = { .SizeOfStruct = sizeof( IMAGEHLP_LINE64 ), };
|
||||
|
||||
SetBits( options, SYMOPT_DEBUG | SYMOPT_LOAD_LINES );
|
||||
SymSetOptions( options );
|
||||
|
||||
Reference in New Issue
Block a user