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:
1 parent
e640ef9d7b
commit
985087c7e2
15 files changed
+33
-63
No files matched your search
@@ -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