Restore old assert message for unknown instruction
The assert(0) that was introduced in PR #2811 is not user friendly since it has no explanation at all about what happened. Regular users probably won't think of looking at the log to get more information.
This commit is contained in:
parent
e28fa1588f
commit
c49074742c
|
@ -295,7 +295,7 @@ void Interpreter::unknown_instruction(UGeckoInstruction _inst)
|
|||
i + 1, rGPR[i + 1],
|
||||
i + 2, rGPR[i + 2],
|
||||
i + 3, rGPR[i + 3]);
|
||||
assert(0);
|
||||
_assert_msg_(POWERPC, 0, "\nIntCPU: Unknown instruction %08x at PC = %08x last_PC = %08x LR = %08x\n", _inst.hex, PC, last_pc, LR);
|
||||
}
|
||||
|
||||
void Interpreter::ClearCache()
|
||||
|
|
Loading…
Reference in New Issue