pretty sure this is what was meant.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@211 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
cottonvibes 2008-10-17 22:17:45 +00:00 committed by Gregory Hainaut
parent bcd8e80183
commit 9bd263e04f
2 changed files with 4 additions and 8 deletions

View File

@ -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()

View File

@ -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 );