From 6f1600304f831de08cda19e0bbea95eafaa03213 Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Sun, 24 Aug 2008 11:37:31 +0000 Subject: [PATCH] 64-bit constant needs "ULL" suffix. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@290 8ced0084-cf51-0410-be5f-012b33b47a6e --- .../Core/Src/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp index cca50b8e8a..3c2229acfd 100644 --- a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp +++ b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp @@ -318,7 +318,7 @@ void CInterpreter::frspx(UGeckoInstruction _inst) // round to single //PanicAlert("rounding up"); FPSCR.FR = 1; mantissa_single += 0x20000000; - if (mantissa_single & 0x0010000000000000) { + if (mantissa_single & 0x0010000000000000ULL) { // PanicAlert("renormalizing"); mantissa_single >>= 1; exp += 1;