@@ -253,8 +253,8 @@ static DWORD RunDebuggerLoop(HANDLE hProcess, DWORD processId, DebuggerCrashCapt
253253 // These are deliberate security fastfails.
254254 if (!IsNetcModule (capture.moduleInfo .moduleName ))
255255 {
256- WriteFailFastDump (hProcess, processId, debugEvent.dwThreadId , &debugEvent.u .Exception .ExceptionRecord , &capture. threadContext ,
257- capture);
256+ WriteFailFastDump (hProcess, processId, debugEvent.dwThreadId , &debugEvent.u .Exception .ExceptionRecord ,
257+ &capture. threadContext , capture);
258258 }
259259 else
260260 {
@@ -2110,8 +2110,7 @@ int LaunchGame(SString strCmdLine)
21102110 " MTA: San Andreas has been terminated due to an integrity violation.\n\n "
21112111 " Make sure that no external program is modifying the game. Note that some unreliable "
21122112 " AV's (such as Bitdefender) are known to interfere in a way that can lead to this problem." ,
2113- " MTA: San Andreas" ,
2114- MB_OK | MB_ICONWARNING | MB_TOPMOST);
2113+ " MTA: San Andreas" , MB_OK | MB_ICONWARNING | MB_TOPMOST);
21152114 }
21162115 else
21172116 {
@@ -2138,17 +2137,16 @@ int LaunchGame(SString strCmdLine)
21382137 if (werInfo.found && IsFailFastException (werInfo.exceptionCode ) && IsNetcModule (werInfo.moduleName ))
21392138 {
21402139 isAcDefense = true ;
2141- AddReportLog (7210 , SString (" Loader - AC integrity exit detected via WER (module=%s code=0x%08X)" ,
2142- werInfo. moduleName . c_str (), static_cast <unsigned int >(werInfo.exceptionCode )));
2140+ AddReportLog (7210 , SString (" Loader - AC integrity exit detected via WER (module=%s code=0x%08X)" , werInfo. moduleName . c_str (),
2141+ static_cast <unsigned int >(werInfo.exceptionCode )));
21432142 // Mark WER report as handled so _CheckForWerCrash does not reprocess it on next launch
21442143 if (!werInfo.reportId .empty ())
21452144 SetApplicationSetting (" diagnostics" , " last-wer-report-shown" , werInfo.reportId );
21462145 MessageBoxUTF8 (nullptr ,
21472146 " MTA: San Andreas has been terminated due to an AC integrity violation.\n\n "
21482147 " Make sure that no external program is modifying the game. Note that some unreliable "
21492148 " AV's (such as Bitdefender) are known to interfere in a way that can lead to this problem." ,
2150- " MTA: San Andreas" ,
2151- MB_OK | MB_ICONWARNING | MB_TOPMOST);
2149+ " MTA: San Andreas" , MB_OK | MB_ICONWARNING | MB_TOPMOST);
21522150 }
21532151 else if (werInfo.found )
21542152 {
0 commit comments