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:
parent
47d1b07abb
commit
cc7aa73081
|
@ -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);
|
||||
}
|
||||
|
||||
// =======================================================
|
||||
|
|
Loading…
Reference in New Issue