From dd204d116ef48f9d6b606167181f6a0d01dac2a8 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 1 Oct 2023 13:20:12 +1000 Subject: [PATCH] CPU: Warning fix --- src/core/bus.cpp | 1 - src/core/cpu_code_cache.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/bus.cpp b/src/core/bus.cpp index 7c6d69eaf..fc47a1f0a 100644 --- a/src/core/bus.cpp +++ b/src/core/bus.cpp @@ -138,7 +138,6 @@ static std::tuple CalculateMemoryTiming(MEMDELA static void RecalculateMemoryTimings(); static void SetCodePageFastmemProtection(u32 page_index, bool writable); -static void SetLUTFastmemProtection(u32 page_index, bool writable); } // namespace Bus #define FIXUP_HALFWORD_OFFSET(size, offset) ((size >= MemoryAccessSize::HalfWord) ? (offset) : ((offset) & ~1u)) diff --git a/src/core/cpu_code_cache.cpp b/src/core/cpu_code_cache.cpp index 1b33c5007..250ae638a 100644 --- a/src/core/cpu_code_cache.cpp +++ b/src/core/cpu_code_cache.cpp @@ -441,6 +441,7 @@ FastMapTable* GetFastMapPointer() #else s_asm_dispatcher(); #endif + UnreachableCode(); } #endif