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:
JosJuice 2015-08-15 10:00:49 +02:00
parent e28fa1588f
commit c49074742c
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ void Interpreter::unknown_instruction(UGeckoInstruction _inst)
i + 1, rGPR[i + 1], i + 1, rGPR[i + 1],
i + 2, rGPR[i + 2], i + 2, rGPR[i + 2],
i + 3, rGPR[i + 3]); 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() void Interpreter::ClearCache()