-Fixed a bug in the SPU_Reset function

-Removed an unused variable
This commit is contained in:
cyberwarriorx 2006-12-07 03:55:41 +00:00
parent 4fb62b85cc
commit ffc132cd96
2 changed files with 1 additions and 2 deletions

View File

@ -169,7 +169,7 @@ void SPU_Reset(void)
{ {
int i; int i;
memset((void *)SPU, 0, sizeof(SPU_struct)); memset((void *)SPU->chan, 0, sizeof(channel_struct) * 16);
// Reset Registers // Reset Registers
for (i = 0x400; i < 0x51D; i++) for (i = 0x400; i < 0x51D; i++)

View File

@ -68,7 +68,6 @@ typedef struct
typedef struct typedef struct
{ {
BOOL enable;
u32 bufpos; u32 bufpos;
u32 buflength; u32 buflength;
s32 *sndbuf; s32 *sndbuf;