mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-30 05:14:15 +01:00
Merge yuzu-emu#12955
This commit is contained in:
parent
98d0ccc78c
commit
0b624b8bfa
@ -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