Implement a quick fix for Instruction Reordering
Instruction Reordering broke Mia Hamm and possibly other games too. The easiest way to fix the problem was to simply disable reordering for specific cases that were never accounted for.
This commit is contained in:
parent
1741623482
commit
0f1010379f
|
@ -1399,7 +1399,11 @@ void GetInstructionInfo(DWORD PC, OPCODE * RspOp, OPCODE_INFO * info) {
|
|||
info->DestReg = RspOp->rt;
|
||||
info->SourceReg0 = (DWORD)-1;
|
||||
info->SourceReg1 = (DWORD)-1;
|
||||
info->flags = COPO_MF_Instruction | GPR_Instruction | Load_Operation;
|
||||
if (RspOp->rd == 0x4 || RspOp->rd == 0x7){
|
||||
info->flags = InvalidOpcode;
|
||||
} else{
|
||||
info->flags = COPO_MF_Instruction | GPR_Instruction | Load_Operation;
|
||||
}
|
||||
break;
|
||||
|
||||
case RSP_COP0_MT:
|
||||
|
|
Loading…
Reference in New Issue