Compare commits

...

1 Commits

Author SHA1 Message Date
Narr the Reg 8d2ad3d8f7 dmnt: cheat: Avoid invalidating cache on 32bit 2024-02-07 21:32:20 -06:00
+2 -1
View File
@@ -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);
}
}