mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-13 22:08:34 +00:00
Change signature of menu_displaylist_parse_settings
This commit is contained in:
parent
418c5cbb76
commit
280431114e
@ -1806,7 +1806,7 @@ static int deferred_push_video_shader_parameters_common(
|
||||
}
|
||||
#endif
|
||||
|
||||
int menu_displaylist_parse_settings(void *data,
|
||||
bool menu_displaylist_parse_settings(void *data,
|
||||
menu_displaylist_info_t *info,
|
||||
const char *info_label,
|
||||
enum menu_displaylist_parse_type parse_type,
|
||||
@ -1819,7 +1819,7 @@ int menu_displaylist_parse_settings(void *data,
|
||||
uint64_t flags = menu_setting_get_flags(setting);
|
||||
|
||||
if (!setting)
|
||||
return -1;
|
||||
return false;
|
||||
|
||||
switch (parse_type)
|
||||
{
|
||||
@ -1946,7 +1946,7 @@ loop:
|
||||
menu_hash_to_str(MENU_LABEL_NO_SETTINGS_FOUND),
|
||||
0, 0, 0);
|
||||
|
||||
return 0;
|
||||
return true;
|
||||
}
|
||||
|
||||
static int menu_displaylist_sort_playlist(const content_playlist_entry_t *a,
|
||||
|
@ -142,10 +142,22 @@ typedef struct menu_displaylist_ctx_entry
|
||||
file_list_t *list;
|
||||
} menu_displaylist_ctx_entry_t;
|
||||
|
||||
typedef struct menu_displaylist_ctx_parse_entry
|
||||
{
|
||||
void *data;
|
||||
menu_displaylist_info_t *info;
|
||||
const char *info_label;
|
||||
enum menu_displaylist_parse_type parse_type;
|
||||
bool add_empty_entry;
|
||||
} menu_displaylist_ctx_parse_entry_t;
|
||||
|
||||
bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data);
|
||||
|
||||
int menu_displaylist_parse_settings(void *data, menu_displaylist_info_t *info,
|
||||
const char *info_label, enum menu_displaylist_parse_type parse_type, bool add_empty_entry);
|
||||
bool menu_displaylist_parse_settings(void *data,
|
||||
menu_displaylist_info_t *info,
|
||||
const char *info_label,
|
||||
enum menu_displaylist_parse_type parse_type,
|
||||
bool add_empty_entry);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user