mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
bcd8e80183
commit
9bd263e04f
|
@ -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()
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue