fix audio for GC

This commit is contained in:
dborth 2010-05-21 01:35:54 +00:00
parent 0893c0857b
commit e28daf3cc2

View File

@ -105,14 +105,13 @@ SwitchAudioMode(int mode)
ASND_Pause(1);
AUDIO_StopDMA();
AUDIO_RegisterDMACallback(AudioPlayer);
#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
{