Wii: Fix silly mistake in audio code
Jeffrey Pfau jeffrey@endrift.com
Thu, 06 Aug 2015 00:33:38 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/platform/wii/main.c
→
src/platform/wii/main.c
@@ -314,8 +314,8 @@ static void _audioDMA(void) {
if (!audioBufferSize) { return; } - currentAudioBuffer = !currentAudioBuffer; DCFlushRange(audioBuffer[currentAudioBuffer], audioBufferSize * sizeof(struct GBAStereoSample)); AUDIO_InitDMA((u32) audioBuffer[currentAudioBuffer], audioBufferSize * sizeof(struct GBAStereoSample)); + currentAudioBuffer = !currentAudioBuffer; audioBufferSize = 0; }