From 7139dd326cf6152b31774919729257c8656fa906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Thu, 3 Aug 2023 18:04:12 +0200 Subject: [PATCH] Buildfix --- SDL/CocoaBarItems.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SDL/CocoaBarItems.mm b/SDL/CocoaBarItems.mm index 2e6a5b6632..e1bc11a398 100644 --- a/SDL/CocoaBarItems.mm +++ b/SDL/CocoaBarItems.mm @@ -545,9 +545,9 @@ TOGGLE_METHOD(FullScreen, g_Config.bFullScreen, System_MakeRequest(SystemRequest -(void)toggleShowDebugStats: (NSMenuItem *)item { \ if ((DebugOverlay)g_Config.iDebugOverlay == DebugOverlay::DEBUG_STATS) { - g_Config.iDebugOverlay = DebugOverlay::OFF; + g_Config.iDebugOverlay = (int)DebugOverlay::OFF; } else { - g_Config.iDebugOverlay = DebugOverlay::DEBUG_STATS; + g_Config.iDebugOverlay = (int)DebugOverlay::DEBUG_STATS; } System_PostUIMessage("clear jit", ""); item.state = [self controlStateForBool: (DebugOverlay)g_Config.iDebugOverlay == DebugOverlay::DEBUG_STATS]; \