From 3092fda58b67f6305e692c49fc85e466e531b41f Mon Sep 17 00:00:00 2001 From: sonninnos <45124675+sonninnos@users.noreply.github.com> Date: Tue, 27 Dec 2022 22:41:49 +0200 Subject: [PATCH] Fix menu switch icon correction crash (#14774) --- menu/menu_driver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/menu/menu_driver.c b/menu/menu_driver.c index c3283cc0cc..4c12643f96 100644 --- a/menu/menu_driver.c +++ b/menu/menu_driver.c @@ -469,7 +469,8 @@ void menu_entry_get(menu_entry_t *entry, size_t stack_idx, /* Inspect core options and set entries with only 2 options as * boolean for accurate graphical switch icons */ - if (entry->type >= MENU_SETTINGS_CORE_OPTION_START) + if ( entry->type >= MENU_SETTINGS_CORE_OPTION_START + && entry->type < MENU_SETTINGS_CHEEVOS_START) { struct core_option *option = NULL; core_option_manager_t *coreopts = NULL;