git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4973 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
3d4e7f87b8
commit
6f49a392f8
1 changed files with 2 additions and 2 deletions
|
@ -104,8 +104,8 @@ unsigned int WINAPI threadwrapper(void *args)
|
|||
{
|
||||
}
|
||||
#else
|
||||
PVOID (WINAPI *[SetUnhandledExceptionFilter)(ULONG FirstHandler, PVECTORED_EXCEPTION_HANDLER VectoredHandler);
|
||||
dllfunction_t dbgfuncs[] = {{(void*)&pAddVectoredExceptionHandler, "SetUnhandledExceptionFilter"}, {NULL,NULL}};
|
||||
PVOID (WINAPI *pAddVectoredExceptionHandler)(ULONG FirstHandler, PVECTORED_EXCEPTION_HANDLER VectoredHandler);
|
||||
dllfunction_t dbgfuncs[] = {{(void*)&pAddVectoredExceptionHandler, "AddVectoredExceptionHandler"}, {NULL,NULL}};
|
||||
if (Sys_LoadLibrary("kernel32.dll", dbgfuncs) && pAddVectoredExceptionHandler)
|
||||
pAddVectoredExceptionHandler(0, nonmsvc_CrashExceptionHandler);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue