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"
|
__asm__ __volatile__(".intel_syntax\n"
|
||||||
"lock xadd [%0], %%eax\n"
|
"lock xadd [%0], %%eax\n"
|
||||||
".att_syntax\n" : : "r"(Addend), "a"(Value) : "memory" );
|
".att_syntax\n" : : "r"(Addend), "a"(Value) : "memory" );
|
||||||
// fixme - As is this
|
// fixme - This is supposed to return a long
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 timeGetTime()
|
u32 timeGetTime()
|
||||||
|
|
|
@ -1443,9 +1443,7 @@ void rpsxBLTZ()
|
||||||
_psxFlushAllUnused();
|
_psxFlushAllUnused();
|
||||||
|
|
||||||
if( PSX_IS_CONST1(_Rs_) ) {
|
if( PSX_IS_CONST1(_Rs_) ) {
|
||||||
// fixme
|
if( (int)g_psxConstRegs[_Rs_] >= 0 )
|
||||||
// A variable of type u32 is always >= 0
|
|
||||||
//if( (int)g_psxConstRegs[_Rs_] >= 0 )
|
|
||||||
branchTo = psxpc+4;
|
branchTo = psxpc+4;
|
||||||
|
|
||||||
psxRecompileNextInstruction(1);
|
psxRecompileNextInstruction(1);
|
||||||
|
@ -1492,10 +1490,8 @@ void rpsxBGEZ()
|
||||||
_psxFlushAllUnused();
|
_psxFlushAllUnused();
|
||||||
|
|
||||||
if( PSX_IS_CONST1(_Rs_) ) {
|
if( PSX_IS_CONST1(_Rs_) ) {
|
||||||
// fixme
|
if ( (int)g_psxConstRegs[_Rs_] < 0 )
|
||||||
// A variable of type u32 is never less then 0!
|
branchTo = psxpc+4;
|
||||||
/*if( g_psxConstRegs[_Rs_] < 0 )
|
|
||||||
branchTo = psxpc+4;*/
|
|
||||||
|
|
||||||
psxRecompileNextInstruction(1);
|
psxRecompileNextInstruction(1);
|
||||||
psxSetBranchImm( branchTo );
|
psxSetBranchImm( branchTo );
|
||||||
|
|
Loading…
Reference in New Issue