fix nmt swpa

This commit is contained in:
Gray
2025-07-19 17:34:55 -04:00
parent 82da56da66
commit 9a69c9d5c6
6 changed files with 12 additions and 9 deletions

View File

@@ -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);