diff options
| author | aldelaro5 <aldelaro5@localhost.localdomain> | 2016-08-23 00:43:09 -0400 |
|---|---|---|
| committer | aldelaro5 <aldelaro5@localhost.localdomain> | 2016-08-23 07:37:54 -0400 |
| commit | cc7aa730816ddfac5a88c3acea2c581b28358c75 (patch) | |
| tree | 966b3a4ff9cdd40925579e63696275420f5e04cc /Source | |
| parent | 47d1b07abb414e16586966101a01e8481f1c5937 (diff) | |
Invalidate the icache when inserting a nop or BLR
Also schedule an event to invalidate it if the emu thread is running.
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/Debugger/PPCDebugInterface.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/Core/Debugger/PPCDebugInterface.cpp b/Source/Core/Core/Debugger/PPCDebugInterface.cpp index 4356c27d9f..b9a4a2f03d 100644 --- a/Source/Core/Core/Debugger/PPCDebugInterface.cpp +++ b/Source/Core/Core/Debugger/PPCDebugInterface.cpp @@ -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); } // ======================================================= |
