apparently it did do something

This commit is contained in:
dankmeme01 2024-06-08 13:41:41 +02:00
parent 1ac50e1587
commit 1dcc4264a4

View file

@ -391,9 +391,6 @@ static LONG WINAPI exceptionHandler(LPEXCEPTION_POINTERS info) {
bool crashlog::setupPlatformHandler() {
AddVectoredExceptionHandler(1, exceptionHandler);
// no idea if this does anything
SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX);
auto lastCrashedFile = crashlog::getCrashLogDirectory() / "last-crashed";
if (std::filesystem::exists(lastCrashedFile)) {
g_lastLaunchCrashed = true;