mirror of https://github.com/PCSX2/pcsx2.git
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.
This commit is contained in:
parent
6f19551a77
commit
f4cb9de8d9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue