From 9ed72839f45258c753da95ef42f59e6b6843c701 Mon Sep 17 00:00:00 2001 From: souldbminersmwc Date: Sun, 15 Mar 2026 10:29:49 -0400 Subject: [PATCH] sysclk: the code should compile now --- Source/sys-clk/common/src/display_refresh_rate.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/sys-clk/common/src/display_refresh_rate.cpp b/Source/sys-clk/common/src/display_refresh_rate.cpp index 415557b2..7a169883 100644 --- a/Source/sys-clk/common/src/display_refresh_rate.cpp +++ b/Source/sys-clk/common/src/display_refresh_rate.cpp @@ -98,6 +98,7 @@ static const HandheldTimings g_handheldTimingsRETRO[] = { static const MinMaxRefreshRate g_handheldModeRefreshRate = {40, 80}; +static uint8_t _getDockedRefreshRateIterator(uint32_t refreshRate) { for (size_t i = 0; i < sizeof(g_dockedRefreshRates) / sizeof(g_dockedRefreshRates[0]); i++) { if (g_dockedRefreshRates[i] == refreshRate) return i; }