"Merge Tagged PR 12955"

This commit is contained in:
yuzubot 2024-02-08 13:03:31 +00:00
parent 4463ded603
commit 54243cc4a9

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);
}
}