mirror of https://github.com/PCSX2/pcsx2.git
oups miss one minus
This commit is contained in:
parent
f6c27c2abf
commit
18f677d530
|
@ -512,7 +512,7 @@ void rpsxDIV_const()
|
||||||
* Normally, when 0x80000000(-2147483648), the signed minimum value, is divided by 0xFFFFFFFF(-1), the
|
* 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
|
* operation will result in overflow. However, in this instruction an overflow exception does not occur and the
|
||||||
* result will be as follows:
|
* 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 !
|
// Of course x86 cpu does overflow !
|
||||||
if (g_psxConstRegs[_Rs_] == 0x80000000u && g_psxConstRegs[_Rt_] == 0xFFFFFFFFu) {
|
if (g_psxConstRegs[_Rs_] == 0x80000000u && g_psxConstRegs[_Rt_] == 0xFFFFFFFFu) {
|
||||||
|
|
Loading…
Reference in New Issue