From 4d74719d56963d35c7fad160ff2f9072c2933717 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Wed, 23 Feb 2022 20:40:10 +0200 Subject: [PATCH] One day I'll just report that bug to Clang --- Core/apu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Core/apu.c b/Core/apu.c index 1262f85..5bec882 100644 --- a/Core/apu.c +++ b/Core/apu.c @@ -257,8 +257,7 @@ static void render(GB_gameboy_t *gb) {left_volume * (1 - gb->apu_output.highpass_rate) + gb->apu_output.highpass_diff.left * gb->apu_output.highpass_rate, right_volume * (1 - gb->apu_output.highpass_rate) + gb->apu_output.highpass_diff.right * gb->apu_output.highpass_rate}; - case GB_HIGHPASS_MAX: - unreachable(); + case GB_HIGHPASS_MAX:; } }