From f4cb9de8d903e6ccea5088f61a5acbc5e601da1e Mon Sep 17 00:00:00 2001 From: Pseudonym Date: Fri, 4 Jul 2014 12:38:14 +0100 Subject: [PATCH] mVU: Corrected a typo in the branch in branch delay slot handling which prevented using the simpler code in the case of the delay slot being that of an unconditional branch. Now hopefully the code in question actually works for that case, since I'm not sure this has been tested. --- pcsx2/x86/microVU_Analyze.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/x86/microVU_Analyze.inl b/pcsx2/x86/microVU_Analyze.inl index ed32f3f359..215cef54ae 100644 --- a/pcsx2/x86/microVU_Analyze.inl +++ b/pcsx2/x86/microVU_Analyze.inl @@ -463,7 +463,7 @@ __ri int mVUbranchCheck(mV) { if(mVUlow.branch == 2 || mVUlow.branch == 10) //Needs linking, we can only guess this if the next is not conditional { - if(branchType <= 2 && branchType >= 9) //First branch is not conditional so we know what the link will be + if(branchType <= 2 || branchType >= 9) //First branch is not conditional so we know what the link will be { //So we can let the existing evil block do its thing! We know where to get the addr :) mVUregs.blockType = 2; } //Else it is conditional, so we need to do some nasty processing later in microVU_Branch.inl