GBA Thread: Fix initial volume when starting a game
Jeffrey Pfau jeffrey@endrift.com
Sat, 23 May 2015 23:22:02 -0700
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/gba/supervisor/thread.c
→
src/gba/supervisor/thread.c
@@ -238,9 +238,9 @@ if (threadContext->volume == 0) {
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;