mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-13 22:08:34 +00:00
(Menu) More cleanups
This commit is contained in:
parent
2d8eb9322a
commit
6d0409b6bd
@ -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;
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user