mirror of https://github.com/PCSX2/pcsx2.git
x86/iR5900: Fix signed/unsigned comparison in timeout loop
This commit is contained in:
parent
73cd876f6d
commit
6697e76be1
|
@ -2353,7 +2353,7 @@ static void recRecompile(const u32 startpc)
|
|||
else if ((cpuRegs.code >> 26) == 5)
|
||||
{
|
||||
// bne
|
||||
if (timeout_reg != _Rs_ || _Rt_ != 0 || memRead32(i + 4) != 0)
|
||||
if (timeout_reg != static_cast<s32>(_Rs_) || _Rt_ != 0 || memRead32(i + 4) != 0)
|
||||
is_timeout_loop = false;
|
||||
}
|
||||
else if (cpuRegs.code != 0)
|
||||
|
|
Loading…
Reference in New Issue