diff options
| author | Marko Pusljar <LM1234@gmail.com> | 2009-12-01 20:38:42 +0000 |
|---|---|---|
| committer | Marko Pusljar <LM1234@gmail.com> | 2009-12-01 20:38:42 +0000 |
| commit | aa2f2dc95cb3c3fc3b7462b0a8793ac92f4a9608 (patch) | |
| tree | d056fa5b2006fbb4d787947e9a3bb89516058c78 /Source/Core/DSPCore/Src/DSPIntCCUtil.cpp | |
| parent | 4d512ecba77258b9f28fee8d95d338053964e48e (diff) | |
DSPLLE - cleaning, small fixes (2 shift opcodes are more correct now (lsr,asr) + some 0x3... opcodes are working better in case they are extended)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4633 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DSPCore/Src/DSPIntCCUtil.cpp')
| -rw-r--r-- | Source/Core/DSPCore/Src/DSPIntCCUtil.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Source/Core/DSPCore/Src/DSPIntCCUtil.cpp b/Source/Core/DSPCore/Src/DSPIntCCUtil.cpp index 42ec92e4a6..2bf5192b2a 100644 --- a/Source/Core/DSPCore/Src/DSPIntCCUtil.cpp +++ b/Source/Core/DSPCore/Src/DSPIntCCUtil.cpp @@ -91,17 +91,12 @@ void Update_SR_Register16(s16 _Value, bool carry, bool overflow) } } -void Update_SR_LZ(s64 value) { +void Update_SR_LZ(bool value) { - if (value == 0) - { + if (value == true) g_dsp.r[DSP_REG_SR] |= SR_LOGIC_ZERO; - } else - { g_dsp.r[DSP_REG_SR] &= ~SR_LOGIC_ZERO; - } - } inline int GetMultiplyModifier() |
