From bd1b12e357c894ba0d2f08d21ffd844d5e7572d6 Mon Sep 17 00:00:00 2001 From: Marko Pusljar Date: Wed, 17 Feb 2010 10:21:25 +0000 Subject: [PATCH] DSPLLE - SR_TOP2BITS 16bit fix git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5073 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DSPCore/Src/DSPIntCCUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DSPCore/Src/DSPIntCCUtil.cpp b/Source/Core/DSPCore/Src/DSPIntCCUtil.cpp index d9c04578b4..880e730a1f 100644 --- a/Source/Core/DSPCore/Src/DSPIntCCUtil.cpp +++ b/Source/Core/DSPCore/Src/DSPIntCCUtil.cpp @@ -85,7 +85,7 @@ void Update_SR_Register16(s16 _Value, bool carry, bool overflow) } // Checks if top bits are equal, what is it good for? - if (((_Value >> 14) == 0) || ((_Value >> 14) == 3)) + if ((((u16)_Value >> 14) == 0) || (((u16)_Value >> 14) == 3)) { g_dsp.r[DSP_REG_SR] |= SR_TOP2BITS; }