From 54243cc4a9cde169228399f56b6418774b6178e9 Mon Sep 17 00:00:00 2001 From: yuzubot Date: Thu, 8 Feb 2024 13:03:31 +0000 Subject: [PATCH] "Merge Tagged PR 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 470521f44..f36e098e0 100644 --- a/src/core/memory/cheat_engine.cpp +++ b/src/core/memory/cheat_engine.cpp @@ -64,7 +64,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); } }