This commit is contained in:
parent
cf59101497
commit
e8598f3cdb
@ -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();
|
||||
|
@ -70,6 +70,10 @@ namespace Components
|
||||
MiniDumpWriteDump(GetCurrentProcess(), GetCurrentProcessId(), hFile, MiniDumpNormal, &ex, NULL, NULL);
|
||||
CloseHandle(hFile);
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBoxA(0, "Failed to create file!", "ERROR", MB_ICONERROR);
|
||||
}
|
||||
|
||||
//Exception::UploadMinidump(filename);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user