From eda19cfc5ee92eed04c1cc5ec4e7475d5a0407a4 Mon Sep 17 00:00:00 2001 From: LegendOfDragoon Date: Tue, 14 Apr 2015 22:07:45 -0700 Subject: [PATCH] Fix regression in GetInstructionInfo I previously made a commit to fix a reordering issue, but did not realize it needed that COPO_MF_Instruction flag for branching. This should fix the Ogre Battle issue. --- Source/RSP/Recompiler Analysis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/RSP/Recompiler Analysis.c b/Source/RSP/Recompiler Analysis.c index a36bb64eb..63141c71c 100644 --- a/Source/RSP/Recompiler Analysis.c +++ b/Source/RSP/Recompiler Analysis.c @@ -1410,7 +1410,7 @@ void GetInstructionInfo(DWORD PC, OPCODE * RspOp, OPCODE_INFO * info) { info->SourceReg0 = UNUSED_OPERAND; info->SourceReg1 = UNUSED_OPERAND; if (RspOp->rd == 0x4 || RspOp->rd == 0x7){ - info->flags = InvalidOpcode; + info->flags = InvalidOpcode | COPO_MF_Instruction; } else{ info->flags = COPO_MF_Instruction | GPR_Instruction | Load_Operation; }