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:
hrydgard
2009-04-05 12:59:40 +00:00
parent 7368d712d6
commit 5d13f233e7
7 changed files with 270 additions and 275 deletions

View File

@ -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;
}