Merge yuzu-emu#12955

yuzubot 2024-02-09 00:56:52 +00:00
parent 98d0ccc78c
commit 0b624b8bfa
1 changed files with 2 additions and 1 deletions

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