Crashlog: Update thread/lock handling to match GameLoop changes
This commit is contained in:
@@ -639,6 +639,8 @@ static LONG WINAPI ExceptionHandler(EXCEPTION_POINTERS *ep)
|
||||
ExitProcess(3);
|
||||
}
|
||||
|
||||
VideoDriver::EmergencyAcquireGameLock(1000, 5);
|
||||
|
||||
CrashLogWindows *log = new CrashLogWindows(ep);
|
||||
CrashLogWindows::current = log;
|
||||
char *buf = log->FillCrashLog(log->crashlog, lastof(log->crashlog));
|
||||
|
Reference in New Issue
Block a user