mirror of
https://github.com/libretro/RetroArch
synced 2025-04-17 02:43:03 +00:00
(Menu) Ifdef code for HAVE_LIBRETRODB
This commit is contained in:
parent
2eba39e41d
commit
2b934b43ef
@ -1346,6 +1346,7 @@ static int menu_displaylist_parse_horizontal_list(menu_displaylist_info_t *info)
|
||||
strlcpy(rpl_basename, item->path, sizeof(rpl_basename));
|
||||
path_remove_extension(rpl_basename);
|
||||
|
||||
#ifdef HAVE_LIBRETRODB
|
||||
fill_pathname_join(db_path, settings->content_database,
|
||||
rpl_basename, sizeof(db_path));
|
||||
strlcat(db_path, ".rdb", sizeof(db_path));
|
||||
@ -1353,6 +1354,7 @@ static int menu_displaylist_parse_horizontal_list(menu_displaylist_info_t *info)
|
||||
if (path_file_exists(db_path))
|
||||
menu_list_push(info->list, path_basename(db_path), "core_database",
|
||||
MENU_FILE_RDB, 0);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user