mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-23 00:19:03 +00: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:
parent
7368d712d6
commit
5d13f233e7
7 changed files with 270 additions and 275 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue