mirror of
https://git.tardis.systems/mirrors/yuzu
synced 2025-08-11 12:50:21 +02:00
dmnt: cheat: Avoid invalidating cache on 32bit
This commit is contained in:
parent
4463ded603
commit
8d2ad3d8f7
@ -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 New Issue
Block a user