mirror of https://github.com/PCSX2/pcsx2.git
small problem that always bugged me..
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@122 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
parent
6f1fa0ec7a
commit
79d632c69b
|
@ -903,8 +903,11 @@ static VuFunctionHeader* SuperVURecompileProgram(u32 startpc, int vuindex)
|
|||
}
|
||||
|
||||
static int _recbranchAddr(u32 vucode) {
|
||||
u32 bpc = pc + (_Imm11_ << 3);
|
||||
if (bpc < 0) {
|
||||
//u32 bpc = pc + (_Imm11_ << 3);
|
||||
int bpc = pc + (_Imm11_ << 3);
|
||||
|
||||
if (bpc < 0) { //how can u32 be < 0? (rama)
|
||||
SysPrintf("Warning: bpc < 0 ( %d ), this should not happen \n", bpc);
|
||||
bpc = pc + (_UImm11_ << 3);
|
||||
}
|
||||
bpc &= (s_MemSize[s_vu]-1);
|
||||
|
|
Loading…
Reference in New Issue