summaryrefslogtreecommitdiff
path: root/Source/Core/DSPCore/Src/DSPIntCCUtil.cpp
diff options
context:
space:
mode:
authorMarko Pusljar <LM1234@gmail.com>2009-12-01 20:38:42 +0000
committerMarko Pusljar <LM1234@gmail.com>2009-12-01 20:38:42 +0000
commitaa2f2dc95cb3c3fc3b7462b0a8793ac92f4a9608 (patch)
treed056fa5b2006fbb4d787947e9a3bb89516058c78 /Source/Core/DSPCore/Src/DSPIntCCUtil.cpp
parent4d512ecba77258b9f28fee8d95d338053964e48e (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.cpp9
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()