mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-04 11:45:18 +02:00
Don't crash trying to clear the icache in interpreter mode
This commit is contained in:
@@ -129,7 +129,9 @@ namespace MIPSInt
|
||||
// Icache
|
||||
case 8:
|
||||
// Invalidate the instruction cache at this address
|
||||
MIPSComp::jit->ClearCacheAt(addr, 0x40);
|
||||
if (MIPSComp::jit) {
|
||||
MIPSComp::jit->ClearCacheAt(addr, 0x40);
|
||||
}
|
||||
break;
|
||||
|
||||
// Dcache
|
||||
|
||||
Reference in New Issue
Block a user