mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
DSP: Separate the two UpdateRegister functions more clearly. Add more comments about the condition codes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2874 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -92,14 +92,12 @@ void Update_SR_Register(sint16 _Value)
|
||||
}
|
||||
|
||||
|
||||
sint8 GetMultiplyModifier()
|
||||
int GetMultiplyModifier()
|
||||
{
|
||||
if (g_dsp.r[R_SR] & (1 << 13))
|
||||
{
|
||||
return(1);
|
||||
}
|
||||
|
||||
return(2);
|
||||
return 1;
|
||||
else
|
||||
return 2;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user