Merge remote-tracking branch 'origin/develop' into minidump

This commit is contained in:
/dev/urandom 2016-08-29 06:40:09 +02:00
commit 050f867288
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E
2 changed files with 8 additions and 1 deletions

View File

@ -646,7 +646,10 @@ namespace Components
Utils::Hook(0x56AC60, AntiCheat::AimTargetGetTagPosStub, HOOK_JUMP).Install()->Quick();
// TODO: Probably move that :P
AntiCheat::InitLoadLibHook();
if (!Dedicated::IsEnabled())
{
AntiCheat::InitLoadLibHook();
}
// Prevent external processes from accessing our memory
AntiCheat::ProtectProcess();

View File

@ -26,6 +26,10 @@ namespace Components
OutputDebugStringA("Failed to create new minidump!");
Utils::OutputDebugLastError();
}
else
{
MessageBoxA(0, "Failed to create file!", "ERROR", MB_ICONERROR);
}
printf("Trying to print an error message from ExceptionFilter...");
switch (ExceptionInfo->ExceptionRecord->ExceptionCode)