yuzu-emu
/
yuzu
Archived
1
0
Fork 0

Merge pull request #13051 from german77/cheatmiss

dmnt: cheats: Fix valid address range
This commit is contained in:
liamwhite 2024-02-17 22:22:14 -05:00 committed by GitHub
commit 5024df1925
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -117,9 +117,9 @@ bool StandardVmCallbacks::IsAddressInRange(VAddr in) const {
(in < metadata.heap_extents.base || (in < metadata.heap_extents.base ||
in >= metadata.heap_extents.base + metadata.heap_extents.size) && in >= metadata.heap_extents.base + metadata.heap_extents.size) &&
(in < metadata.alias_extents.base || (in < metadata.alias_extents.base ||
in >= metadata.heap_extents.base + metadata.alias_extents.size) && in >= metadata.alias_extents.base + metadata.alias_extents.size) &&
(in < metadata.aslr_extents.base || (in < metadata.aslr_extents.base ||
in >= metadata.heap_extents.base + metadata.aslr_extents.size)) { in >= metadata.aslr_extents.base + metadata.aslr_extents.size)) {
LOG_DEBUG(CheatEngine, LOG_DEBUG(CheatEngine,
"Cheat attempting to access memory at invalid address={:016X}, if this " "Cheat attempting to access memory at invalid address={:016X}, if this "
"persists, " "persists, "