From fc7fbbdf6ef4f9c534b9b65b7dc6c4fbaa36cd73 Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Thu, 8 Feb 2024 06:37:44 +0100 Subject: [PATCH] early-access version 4122 --- README.md | 2 +- src/core/memory/cheat_engine.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index acb75f1bc..c62c39d26 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 4121. +This is the source code for early-access 4122. ## Legal Notice diff --git a/src/core/memory/cheat_engine.cpp b/src/core/memory/cheat_engine.cpp index 66135e7c3..44e7cc20b 100755 --- a/src/core/memory/cheat_engine.cpp +++ b/src/core/memory/cheat_engine.cpp @@ -65,7 +65,8 @@ void StandardVmCallbacks::MemoryWriteUnsafe(VAddr address, const void* data, u64 return; } - if (system.ApplicationMemory().WriteBlock(address, data, size)) { + if (system.ApplicationMemory().WriteBlock(address, data, size) && + system.ApplicationProcess()->Is64Bit()) { Core::InvalidateInstructionCacheRange(system.ApplicationProcess(), address, size); } }