mirror of
https://github.com/yuzu-emu/yuzu-mainline
synced 2024-11-22 21:43:52 +00:00
dmnt: cheats: Fix valid address range
This commit is contained in:
parent
c7588c042b
commit
366bb52ec8
1 changed files with 2 additions and 2 deletions
|
@ -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, "
|
||||||
|
|
Loading…
Reference in a new issue