diff --git a/frontend/menu/disp/rgui.c b/frontend/menu/disp/rgui.c index f306863961..49ce58e67c 100644 --- a/frontend/menu/disp/rgui.c +++ b/frontend/menu/disp/rgui.c @@ -418,9 +418,7 @@ static void rgui_render(void) } } else if (menu_type == MENU_SETTINGS_CONFIG || -#ifdef HAVE_OVERLAY menu_type == MENU_SETTINGS_OVERLAY_PRESET || -#endif !strcmp(label, "video_filter") || !strcmp(label, "audio_dsp_plugin") || menu_type == MENU_SETTINGS_DISK_APPEND || diff --git a/frontend/menu/disp/rmenu.c b/frontend/menu/disp/rmenu.c index 424d20854c..89b0d0a690 100644 --- a/frontend/menu/disp/rmenu.c +++ b/frontend/menu/disp/rmenu.c @@ -287,9 +287,7 @@ static void rmenu_render(void) } } else if (menu_type == MENU_SETTINGS_CONFIG || -#ifdef HAVE_OVERLAY menu_type == MENU_SETTINGS_OVERLAY_PRESET || -#endif !strcmp(label, "video_filter") || !strcmp(label, "audio_dsp_plugin") || menu_type == MENU_SETTINGS_DISK_APPEND || diff --git a/frontend/menu/disp/rmenu_xui.cpp b/frontend/menu/disp/rmenu_xui.cpp index 23123ef9af..35b5f83031 100644 --- a/frontend/menu/disp/rmenu_xui.cpp +++ b/frontend/menu/disp/rmenu_xui.cpp @@ -504,9 +504,7 @@ static void rmenu_xui_render(void) } } else if (menu_type == MENU_SETTINGS_CONFIG || -#ifdef HAVE_OVERLAY menu_type == MENU_SETTINGS_OVERLAY_PRESET || -#endif !strcmp(label, "video_filter") || !strcmp(label, "audio_dsp_plugin") || menu_type == MENU_SETTINGS_DISK_APPEND || diff --git a/frontend/menu/disp/shared.h b/frontend/menu/disp/shared.h index 3c17d60fa4..eb4c4c1059 100644 --- a/frontend/menu/disp/shared.h +++ b/frontend/menu/disp/shared.h @@ -76,10 +76,8 @@ static void get_title(const char *label, const char *dir, strlcpy(title, "LOAD HISTORY", sizeof_title); else if (!strcmp(label, "info_screen")) strlcpy(title, "INFO", sizeof_title); -#ifdef HAVE_OVERLAY else if (menu_type == MENU_SETTINGS_OVERLAY_PRESET) snprintf(title, sizeof_title, "OVERLAY %s", dir); -#endif else if (!strcmp(label, "video_filter")) snprintf(title, sizeof_title, "FILTER %s", dir); else if (!strcmp(label, "audio_dsp_plugin")) @@ -108,10 +106,8 @@ static void get_title(const char *label, const char *dir, snprintf(title, sizeof_title, "CONFIG DIR %s", dir); else if (menu_type == MENU_SAVEFILE_DIR_PATH) snprintf(title, sizeof_title, "SAVEFILE DIR %s", dir); -#ifdef HAVE_OVERLAY else if (menu_type == MENU_OVERLAY_DIR_PATH) snprintf(title, sizeof_title, "OVERLAY DIR %s", dir); -#endif else if (menu_type == MENU_SYSTEM_DIR_PATH) snprintf(title, sizeof_title, "SYSTEM DIR %s", dir); else if (menu_type == MENU_ASSETS_DIR_PATH)