From bdc72bb73b1988de6d96132f40e887918d75d539 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Sat, 23 May 2015 23:22:02 -0700 Subject: [PATCH] GBA Thread: Fix initial volume when starting a game --- src/gba/supervisor/thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gba/supervisor/thread.c b/src/gba/supervisor/thread.c index e72f31f18..59c9c366e 100644 --- a/src/gba/supervisor/thread.c +++ b/src/gba/supervisor/thread.c @@ -238,9 +238,9 @@ static THREAD_ENTRY _GBAThreadRun(void* context) { threadContext->volume = GBA_AUDIO_VOLUME_MAX; } if (threadContext->mute) { - gba.audio.volume = 0; + gba.audio.masterVolume = 0; } else { - gba.audio.volume = threadContext->volume; + gba.audio.masterVolume = threadContext->volume; } gba.keySource = &threadContext->activeKeys;