mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
Copied register table from hermes code
Please use instead of magic numbers git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2902 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -43,12 +43,12 @@
|
||||
|
||||
inline void dsp_SR_set_flag(int flag)
|
||||
{
|
||||
g_dsp.r[R_SR] |= (1 << flag);
|
||||
g_dsp.r[DSP_REG_SR] |= (1 << flag);
|
||||
}
|
||||
|
||||
inline bool dsp_SR_is_flag_set(int flag)
|
||||
{
|
||||
return (g_dsp.r[R_SR] & (1 << flag)) != 0;
|
||||
return (g_dsp.r[DSP_REG_SR] & (1 << flag)) != 0;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user