(Menu) More cleanups

This commit is contained in:
twinaphex 2018-09-17 10:07:15 +02:00
parent 2d8eb9322a
commit 6d0409b6bd
2 changed files with 4 additions and 3 deletions

View File

@ -57,7 +57,7 @@ void filebrowser_set_type(enum filebrowser_enums type)
filebrowser_types = type;
}
void filebrowser_parse(void *data, unsigned type_data)
void filebrowser_parse(menu_displaylist_info_t *info, unsigned type_data)
{
size_t i, list_size;
struct string_list *str_list = NULL;
@ -66,7 +66,6 @@ void filebrowser_parse(void *data, unsigned type_data)
unsigned dirs_count = 0;
settings_t *settings = config_get_ptr();
rarch_system_info_t *system = runloop_get_system_info();
menu_displaylist_info_t *info = (menu_displaylist_info_t*)data;
enum menu_displaylist_ctl_state type = (enum menu_displaylist_ctl_state)
type_data;
const char *path = info ? info->path : NULL;

View File

@ -22,6 +22,8 @@
#include <retro_common_api.h>
#include "../menu_displaylist.h"
RETRO_BEGIN_DECLS
enum filebrowser_enums
@ -43,7 +45,7 @@ void filebrowser_clear_type(void);
void filebrowser_set_type(enum filebrowser_enums type);
void filebrowser_parse(void *data, unsigned type);
void filebrowser_parse(menu_displaylist_info_t *data, unsigned type);
RETRO_END_DECLS