mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix CrashMsg flag
'2' means that the generic "Apex crashed" message box gets displayed without any additional information regarding the module.
This commit is contained in:
parent
b48f028b5a
commit
3f4884b20a
@ -218,7 +218,7 @@ void CCrashHandler::FormatExceptionAddress(LPCSTR pExceptionAddress)
|
||||
if (GetModuleFileNameExA(GetCurrentProcess(), hCrashedModule, szCrashedModuleFullName, sizeof(szCrashedModuleFullName)) - 1 > 0x1FE)
|
||||
{
|
||||
m_svBuffer.append(fmt::format("\tmodule@{:016X}: 0x{:016X}\n", (void*)hCrashedModule, reinterpret_cast<uintptr_t>(pModuleBase)));
|
||||
m_nCrashMsgFlags = 0; // Display the "Apex crashed" message without additional information regarding the module.
|
||||
m_nCrashMsgFlags = 2; // Display the "Apex crashed" message without additional information regarding the module.
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user