oups miss one minus

This commit is contained in:
Gregory Hainaut 2016-11-08 23:11:12 +01:00
parent f6c27c2abf
commit 18f677d530
1 changed files with 1 additions and 1 deletions

View File

@ -512,7 +512,7 @@ void rpsxDIV_const()
* Normally, when 0x80000000(-2147483648), the signed minimum value, is divided by 0xFFFFFFFF(-1), the
* operation will result in overflow. However, in this instruction an overflow exception does not occur and the
* result will be as follows:
* Quotient: 0x80000000 (2147483648), and remainder: 0x00000000 (0)
* Quotient: 0x80000000 (-2147483648), and remainder: 0x00000000 (0)
*/
// Of course x86 cpu does overflow !
if (g_psxConstRegs[_Rs_] == 0x80000000u && g_psxConstRegs[_Rt_] == 0xFFFFFFFFu) {