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:
nakeee
2009-04-06 17:28:14 +00:00
parent e3e7c88ff1
commit 62fed97a34
6 changed files with 96 additions and 40 deletions

View File

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