break;\r
//-------------------------------------------------//\r
case H_SPUctrl:\r
+ spu.spuStat = (spu.spuStat & ~0x3f) | (val & 0x3f);\r
spu.spuStat &= ~STAT_IRQ | val;\r
if (!(spu.spuCtrl & CTRL_IRQ)) {\r
if (val & CTRL_IRQ)\r
return spu.spuCtrl;\r
\r
case H_SPUstat:\r
- return (spu.spuStat & ~0x3F) | (spu.spuCtrl & 0x3F);\r
+ return spu.spuStat;\r
\r
case H_SPUaddr:\r
return (unsigned short)(spu.spuAddr>>3);\r