From 5fd88bf801266131a32c0dbf8b53d774595b82dc Mon Sep 17 00:00:00 2001 From: Andrew Church Date: Sun, 18 Jan 2015 07:04:13 +0900 Subject: [PATCH] Fix invalid double constant. --- rpcs3/Emu/Cell/PPUInterpreter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/PPUInterpreter.h b/rpcs3/Emu/Cell/PPUInterpreter.h index 8fec7e0b75..5a25ad5346 100644 --- a/rpcs3/Emu/Cell/PPUInterpreter.h +++ b/rpcs3/Emu/Cell/PPUInterpreter.h @@ -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);