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;