diff options
author | german77 <juangerman-13@hotmail.com> | 2024-02-05 18:06:25 +0100 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2024-02-05 18:08:24 +0100 |
commit | 8113f55f4bf32d7bae7defecd037a544d96fc719 (patch) | |
tree | f1e30ad1d286e79823beabc8e62dff6732b1b555 /src/core/memory/cheat_engine.h | |
parent | dmnt: cheats: Update cheat vm to latest version (diff) | |
download | yuzu-8113f55f4bf32d7bae7defecd037a544d96fc719.tar yuzu-8113f55f4bf32d7bae7defecd037a544d96fc719.tar.gz yuzu-8113f55f4bf32d7bae7defecd037a544d96fc719.tar.bz2 yuzu-8113f55f4bf32d7bae7defecd037a544d96fc719.tar.lz yuzu-8113f55f4bf32d7bae7defecd037a544d96fc719.tar.xz yuzu-8113f55f4bf32d7bae7defecd037a544d96fc719.tar.zst yuzu-8113f55f4bf32d7bae7defecd037a544d96fc719.zip |
Diffstat (limited to 'src/core/memory/cheat_engine.h')
-rw-r--r-- | src/core/memory/cheat_engine.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/memory/cheat_engine.h b/src/core/memory/cheat_engine.h index 64a9c486b..619cabaa2 100644 --- a/src/core/memory/cheat_engine.h +++ b/src/core/memory/cheat_engine.h @@ -27,14 +27,14 @@ public: StandardVmCallbacks(System& system_, const CheatProcessMetadata& metadata_); ~StandardVmCallbacks() override; - void MemoryRead(VAddr address, void* data, u64 size) override; - void MemoryWrite(VAddr address, const void* data, u64 size) override; + void MemoryReadUnsafe(VAddr address, void* data, u64 size) override; + void MemoryWriteUnsafe(VAddr address, const void* data, u64 size) override; u64 HidKeysDown() override; void DebugLog(u8 id, u64 value) override; void CommandLog(std::string_view data) override; private: - VAddr SanitizeAddress(VAddr address) const; + bool IsAddressInRange(VAddr address) const; const CheatProcessMetadata& metadata; Core::System& system; |