-Fixed a bug in the SPU_Reset function
-Removed an unused variable
This commit is contained in:
parent
4fb62b85cc
commit
ffc132cd96
|
@ -169,7 +169,7 @@ void SPU_Reset(void)
|
|||
{
|
||||
int i;
|
||||
|
||||
memset((void *)SPU, 0, sizeof(SPU_struct));
|
||||
memset((void *)SPU->chan, 0, sizeof(channel_struct) * 16);
|
||||
|
||||
// Reset Registers
|
||||
for (i = 0x400; i < 0x51D; i++)
|
||||
|
|
|
@ -68,7 +68,6 @@ typedef struct
|
|||
|
||||
typedef struct
|
||||
{
|
||||
BOOL enable;
|
||||
u32 bufpos;
|
||||
u32 buflength;
|
||||
s32 *sndbuf;
|
||||
|
|
Loading…
Reference in New Issue