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:
aldelaro5 2016-08-23 00:43:09 -04:00
parent 47d1b07abb
commit cc7aa73081

View File

@ -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);
}
// =======================================================