mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
Invalidate the icache when inserting a nop or BLR
Also schedule an event to invalidate it if the emu thread is running.
This commit is contained in:
@ -163,6 +163,7 @@ void PPCDebugInterface::ToggleMemCheck(unsigned int address)
|
||||
void PPCDebugInterface::InsertBLR(unsigned int address, unsigned int value)
|
||||
{
|
||||
PowerPC::HostWrite_U32(value, address);
|
||||
PowerPC::ScheduleInvalidateCacheThreadSafe(address);
|
||||
}
|
||||
|
||||
// =======================================================
|
||||
|
Reference in New Issue
Block a user