From 50d784b56ca35e1044e5df49dbb5bcb5d1824a2a Mon Sep 17 00:00:00 2001 From: yuzubot Date: Fri, 9 Feb 2024 13:03:17 +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); } }