Don't crash trying to clear the icache in interpreter mode

This commit is contained in:
Henrik Rydgard 2013-12-10 20:34:07 +01:00
parent c9ed58854a
commit d394282bc6

View file

@ -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