mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2025-01-11 05:05:38 +00:00
"Merge Tagged PR 12955"
This commit is contained in:
parent
f9a559d2b7
commit
50d784b56c
|
@ -64,7 +64,8 @@ void StandardVmCallbacks::MemoryWriteUnsafe(VAddr address, const void* data, u64
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (system.ApplicationMemory().WriteBlock(address, data, size)) {
|
if (system.ApplicationMemory().WriteBlock(address, data, size) &&
|
||||||
|
system.ApplicationProcess()->Is64Bit()) {
|
||||||
Core::InvalidateInstructionCacheRange(system.ApplicationProcess(), address, size);
|
Core::InvalidateInstructionCacheRange(system.ApplicationProcess(), address, size);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue