diff options
| author | Marko Pusljar <LM1234@gmail.com> | 2010-02-17 10:21:25 +0000 |
|---|---|---|
| committer | Marko Pusljar <LM1234@gmail.com> | 2010-02-17 10:21:25 +0000 |
| commit | bd1b12e357c894ba0d2f08d21ffd844d5e7572d6 (patch) | |
| tree | 352903d21ac41eb82723fb745d2abd26e875e22b /Source/Core/DSPCore/Src/DSPIntCCUtil.cpp | |
| parent | c3697df665b2c4357e1efd628c146d36ceb2b390 (diff) | |
DSPLLE - SR_TOP2BITS 16bit fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5073 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DSPCore/Src/DSPIntCCUtil.cpp')
| -rw-r--r-- | Source/Core/DSPCore/Src/DSPIntCCUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
