mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-24 04:12:48 -06:00
Make all unknown opcodes behave consistently.
Consistently fall back to the interpreter for unknown instructions, and make sure GetOpInfo() always returns a non-null pointer.
This commit is contained in:
@ -681,11 +681,6 @@ u32 PPCAnalyzer::Analyze(u32 address, CodeBlock *block, CodeBuffer *buffer, u32
|
||||
num_inst++;
|
||||
memset(&code[i], 0, sizeof(CodeOp));
|
||||
GekkoOPInfo *opinfo = GetOpInfo(inst);
|
||||
if (!opinfo)
|
||||
{
|
||||
PanicAlert("Invalid PowerPC opcode: %x.", inst.hex);
|
||||
Crash();
|
||||
}
|
||||
|
||||
code[i].opinfo = opinfo;
|
||||
code[i].address = address;
|
||||
|
Reference in New Issue
Block a user