mirror of https://github.com/PCSX2/pcsx2.git
pcsx2: sign compare
This commit is contained in:
parent
f2f28d1794
commit
d68d378a48
|
@ -279,7 +279,7 @@ int _allocX86reg(int x86reg, int type, int reg, int mode)
|
||||||
|
|
||||||
if( x86reg >= 0 ) {
|
if( x86reg >= 0 ) {
|
||||||
// requested specific reg, so return that instead
|
// requested specific reg, so return that instead
|
||||||
if( i != x86reg ) {
|
if( i != (uint)x86reg ) {
|
||||||
if( x86regs[i].mode & MODE_READ ) readfromreg = i;
|
if( x86regs[i].mode & MODE_READ ) readfromreg = i;
|
||||||
mode |= x86regs[i].mode&MODE_WRITE;
|
mode |= x86regs[i].mode&MODE_WRITE;
|
||||||
x86regs[i].inuse = 0;
|
x86regs[i].inuse = 0;
|
||||||
|
|
Loading…
Reference in New Issue