fix audio for GC

This commit is contained in:
dborth 2010-05-21 01:36:10 +00:00
parent 94b69f6362
commit e455f2d2d1

View File

@ -118,14 +118,13 @@ SwitchAudioMode(int mode)
ASND_Pause(1);
AUDIO_StopDMA();
AUDIO_RegisterDMACallback(AudioSwitchBuffers);
#endif
memset(soundbuffer[0],0,3840);
memset(soundbuffer[1],0,3840);
DCFlushRange(soundbuffer[0],3840);
DCFlushRange(soundbuffer[1],3840);
AUDIO_InitDMA((u32)soundbuffer[whichab],3200);
AUDIO_StartDMA();
#endif
}
else // menu
{