mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 19:53:48 +01:00
Make instruction cache invalidation (for us, jit cache invalidation) clearer
This commit is contained in:
1 parent
a49f4523cb
commit
9f90512ef6
26 files changed
+198
-135
No files matched your search
@@ -759,9 +759,9 @@ void BreakpointManager::Frame() {
|
||||
if (MIPSComp::jit && updateAddr_ != INVALID_ADDRESS) {
|
||||
// In case this is a delay slot, clear the previous instruction too.
|
||||
if (updateAddr_ != 0)
|
||||
mipsr4k.InvalidateICache(updateAddr_ - 4, 8);
|
||||
mipsr4k.InvalidateICacheRangeDeferred(updateAddr_ - 4, 8);
|
||||
else
|
||||
mipsr4k.ClearJitCache();
|
||||
mipsr4k.ClearJitCacheDeferred();
|
||||
}
|
||||
|
||||
if (anyMemChecks_ && updateAddr_ != INVALID_ADDRESS)
|
||||
|
||||
Reference in new issue
Block a user