mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
fix check for salamander file in core menu
This commit is contained in:
parent
d1bdd4bd97
commit
3fd4f21c9a
@ -2192,16 +2192,16 @@ void menu_parse_and_resolve(void *data, unsigned menu_type)
|
||||
if ((menu_type_is(menu_type) == RGUI_FILE_DIRECTORY) && !is_dir)
|
||||
continue;
|
||||
|
||||
#ifdef HAVE_LIBRETRO_MANAGEMENT
|
||||
if (menu_type == RGUI_SETTINGS_CORE && (is_dir || strcasecmp(list->elems[i].data, SALAMANDER_FILE) == 0))
|
||||
continue;
|
||||
#endif
|
||||
|
||||
// Need to preserve slash first time.
|
||||
const char *path = list->elems[i].data;
|
||||
if (*dir)
|
||||
path = path_basename(path);
|
||||
|
||||
#ifdef HAVE_LIBRETRO_MANAGEMENT
|
||||
if (menu_type == RGUI_SETTINGS_CORE && (is_dir || strcasecmp(path, SALAMANDER_FILE) == 0))
|
||||
continue;
|
||||
#endif
|
||||
|
||||
// Push menu_type further down in the chain.
|
||||
// Needed for shader manager currently.
|
||||
file_list_push(rgui->selection_buf, path,
|
||||
|
Loading…
x
Reference in New Issue
Block a user