Fix invalid double constant.

This commit is contained in:
Andrew Church 2015-01-18 07:04:13 +09:00
parent 46fa645555
commit 5fd88bf801

View File

@ -3956,7 +3956,7 @@ private:
{
const double b = CPU.FPR[frb];
u64 r;
if(b > (double)0x7fffffffffffffff)
if(b >= (double)0x8000000000000000)
{
r = 0x7fffffffffffffff;
CPU.SetFPSCRException(FPSCR_VXCVI);