(PSP) Buildfix

This commit is contained in:
twinaphex 2020-02-14 13:33:27 +01:00
parent ebd3e65f46
commit e5674b146d
3 changed files with 9 additions and 6 deletions

View File

@ -530,7 +530,7 @@ static int manual_content_scan_system_name_left(unsigned type, const char *label
manual_content_scan_get_menu_system_name_list(settings->paths.path_content_database, settings->bools.show_hidden_files); manual_content_scan_get_menu_system_name_list(settings->paths.path_content_database, settings->bools.show_hidden_files);
#else #else
struct string_list *system_name_list = struct string_list *system_name_list =
manual_content_scan_get_menu_system_name_list(NULL); manual_content_scan_get_menu_system_name_list(NULL, settings->bools.show_hidden_files);
#endif #endif
const char *current_system_name = NULL; const char *current_system_name = NULL;
enum manual_content_scan_system_name_type next_system_name_type = enum manual_content_scan_system_name_type next_system_name_type =

View File

@ -611,8 +611,8 @@ static int playlist_left_thumbnail_mode_right(unsigned type, const char *label,
static int manual_content_scan_system_name_right(unsigned type, const char *label, static int manual_content_scan_system_name_right(unsigned type, const char *label,
bool wraparound) bool wraparound)
{ {
#ifdef HAVE_LIBRETRODB
settings_t *settings = config_get_ptr(); settings_t *settings = config_get_ptr();
#ifdef HAVE_LIBRETRODB
struct string_list *system_name_list = struct string_list *system_name_list =
manual_content_scan_get_menu_system_name_list( manual_content_scan_get_menu_system_name_list(
settings->paths.path_content_database, settings->paths.path_content_database,

View File

@ -5289,15 +5289,18 @@ unsigned menu_displaylist_build_list(file_list_t *list, enum menu_displaylist_ct
count = populate_playlist_thumbnail_mode_dropdown_list(list, PLAYLIST_THUMBNAIL_LEFT); count = populate_playlist_thumbnail_mode_dropdown_list(list, PLAYLIST_THUMBNAIL_LEFT);
break; break;
case DISPLAYLIST_DROPDOWN_LIST_MANUAL_CONTENT_SCAN_SYSTEM_NAME: case DISPLAYLIST_DROPDOWN_LIST_MANUAL_CONTENT_SCAN_SYSTEM_NAME:
/* Get system name list */
{ {
/* Get system name list */
#ifdef HAVE_LIBRETRODB
settings_t *settings = config_get_ptr(); settings_t *settings = config_get_ptr();
#ifdef HAVE_LIBRETRODB
struct string_list *system_name_list = struct string_list *system_name_list =
manual_content_scan_get_menu_system_name_list(settings->paths.path_content_database, settings->bools.show_hidden_files); manual_content_scan_get_menu_system_name_list(
settings->paths.path_content_database,
settings->bools.show_hidden_files);
#else #else
struct string_list *system_name_list = struct string_list *system_name_list =
manual_content_scan_get_menu_system_name_list(NULL, settings->bools.show_hidden_files); manual_content_scan_get_menu_system_name_list(NULL,
settings->bools.show_hidden_files);
#endif #endif
if (system_name_list) if (system_name_list)