diff --git a/pcsx2/Misc.c b/pcsx2/Misc.c index fb16ddc3de..9483e63be0 100644 --- a/pcsx2/Misc.c +++ b/pcsx2/Misc.c @@ -1133,7 +1133,7 @@ long InterlockedExchangeAdd(long volatile* Addend, long Value) __asm__ __volatile__(".intel_syntax\n" "lock xadd [%0], %%eax\n" ".att_syntax\n" : : "r"(Addend), "a"(Value) : "memory" ); - // fixme - As is this + // fixme - This is supposed to return a long } u32 timeGetTime() diff --git a/pcsx2/x86/iR3000Atables.cpp b/pcsx2/x86/iR3000Atables.cpp index 074b1aceaf..572b4353fa 100644 --- a/pcsx2/x86/iR3000Atables.cpp +++ b/pcsx2/x86/iR3000Atables.cpp @@ -1443,9 +1443,7 @@ void rpsxBLTZ() _psxFlushAllUnused(); if( PSX_IS_CONST1(_Rs_) ) { - // fixme - // A variable of type u32 is always >= 0 - //if( (int)g_psxConstRegs[_Rs_] >= 0 ) + if( (int)g_psxConstRegs[_Rs_] >= 0 ) branchTo = psxpc+4; psxRecompileNextInstruction(1); @@ -1492,10 +1490,8 @@ void rpsxBGEZ() _psxFlushAllUnused(); if( PSX_IS_CONST1(_Rs_) ) { - // fixme - // A variable of type u32 is never less then 0! - /*if( g_psxConstRegs[_Rs_] < 0 ) - branchTo = psxpc+4;*/ + if ( (int)g_psxConstRegs[_Rs_] < 0 ) + branchTo = psxpc+4; psxRecompileNextInstruction(1); psxSetBranchImm( branchTo );