From f8a105e8d01543b295bbd7893ef01140e61b77f1 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Sun, 6 Feb 2022 14:42:53 +0200 Subject: [PATCH] Stop whining GCC --- Core/memory.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/memory.c b/Core/memory.c index 19a4121..b0a9e0b 100644 --- a/Core/memory.c +++ b/Core/memory.c @@ -507,6 +507,7 @@ internal uint8_t GB_read_oam(GB_gameboy_t *gb, uint8_t addr) case GB_MODEL_SGB2_NO_SFC: return 0; } + unreachable(); } static uint8_t read_high_memory(GB_gameboy_t *gb, uint16_t addr)