From be01abb494d3f76888de1d752f8558e7d438d9c9 Mon Sep 17 00:00:00 2001 From: yuzubot Date: Sat, 10 Feb 2024 10:16:19 +0000 Subject: [PATCH] Merge yuzu-emu#12955 --- src/core/memory/cheat_engine.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/memory/cheat_engine.cpp b/src/core/memory/cheat_engine.cpp index b84b57d92..1019f3abd 100644 --- 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); } }