mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
fix nmt swpa
This commit is contained in:
@@ -318,7 +318,7 @@ uint64 ApplyGameSessionPatch()
|
||||
return 0;
|
||||
}
|
||||
|
||||
LOG_INFO(LogDev, "ByteToPatch: 0x{:x}", __int64(ByteToPatch) - __int64(GetModuleHandleW(0)));
|
||||
LOG_INFO(LogDev, "[ApplyGameSessionPatch] ByteToPatch: 0x{:x}", __int64(ByteToPatch) - __int64(GetModuleHandleW(0)));
|
||||
|
||||
DWORD dwProtection;
|
||||
VirtualProtect((PVOID)ByteToPatch, 1, PAGE_EXECUTE_READWRITE, &dwProtection);
|
||||
|
||||
Reference in New Issue
Block a user