diff options
author | german77 <juangerman-13@hotmail.com> | 2024-02-18 02:10:17 +0100 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2024-02-18 02:10:17 +0100 |
commit | 366bb52ec8c19b9db6c664fe105d2e2ced31c52e (patch) | |
tree | adde44c6071b14fe9206e28e459e9e31180e90d3 /src | |
parent | Merge pull request #13016 from german77/set-interface2 (diff) | |
download | yuzu-366bb52ec8c19b9db6c664fe105d2e2ced31c52e.tar yuzu-366bb52ec8c19b9db6c664fe105d2e2ced31c52e.tar.gz yuzu-366bb52ec8c19b9db6c664fe105d2e2ced31c52e.tar.bz2 yuzu-366bb52ec8c19b9db6c664fe105d2e2ced31c52e.tar.lz yuzu-366bb52ec8c19b9db6c664fe105d2e2ced31c52e.tar.xz yuzu-366bb52ec8c19b9db6c664fe105d2e2ced31c52e.tar.zst yuzu-366bb52ec8c19b9db6c664fe105d2e2ced31c52e.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/memory/cheat_engine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/memory/cheat_engine.cpp b/src/core/memory/cheat_engine.cpp index b84b57d92..d8921e565 100644 --- a/src/core/memory/cheat_engine.cpp +++ b/src/core/memory/cheat_engine.cpp @@ -117,9 +117,9 @@ bool StandardVmCallbacks::IsAddressInRange(VAddr in) const { (in < metadata.heap_extents.base || in >= metadata.heap_extents.base + metadata.heap_extents.size) && (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.heap_extents.base + metadata.aslr_extents.size)) { + in >= metadata.aslr_extents.base + metadata.aslr_extents.size)) { LOG_DEBUG(CheatEngine, "Cheat attempting to access memory at invalid address={:016X}, if this " "persists, " |