From e28daf3cc22d858aaa876b98a684dfff31a923f3 Mon Sep 17 00:00:00 2001 From: dborth Date: Fri, 21 May 2010 01:35:54 +0000 Subject: [PATCH] fix audio for GC --- source/audio.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/audio.cpp b/source/audio.cpp index c8c6f7e..e70e4a4 100644 --- a/source/audio.cpp +++ b/source/audio.cpp @@ -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 {