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
This commit is contained in:
Marko Pusljar
2009-12-01 20:38:42 +00:00
parent 4d512ecba7
commit aa2f2dc95c
4 changed files with 65 additions and 68 deletions

View File

@ -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()