pcsx2: sign compare

This commit is contained in:
Gregory Hainaut 2015-11-07 10:32:06 +01:00
parent f2f28d1794
commit d68d378a48
1 changed files with 1 additions and 1 deletions

View File

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