mirror of
https://github.com/libretro/RetroArch
synced 2025-04-02 16:20:39 +00:00
(Menu) More cleanups
This commit is contained in:
parent
2d8eb9322a
commit
6d0409b6bd
menu/widgets
@ -57,7 +57,7 @@ void filebrowser_set_type(enum filebrowser_enums type)
|
|||||||
filebrowser_types = 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;
|
size_t i, list_size;
|
||||||
struct string_list *str_list = NULL;
|
struct string_list *str_list = NULL;
|
||||||
@ -66,7 +66,6 @@ void filebrowser_parse(void *data, unsigned type_data)
|
|||||||
unsigned dirs_count = 0;
|
unsigned dirs_count = 0;
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
rarch_system_info_t *system = runloop_get_system_info();
|
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)
|
enum menu_displaylist_ctl_state type = (enum menu_displaylist_ctl_state)
|
||||||
type_data;
|
type_data;
|
||||||
const char *path = info ? info->path : NULL;
|
const char *path = info ? info->path : NULL;
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
|
|
||||||
#include <retro_common_api.h>
|
#include <retro_common_api.h>
|
||||||
|
|
||||||
|
#include "../menu_displaylist.h"
|
||||||
|
|
||||||
RETRO_BEGIN_DECLS
|
RETRO_BEGIN_DECLS
|
||||||
|
|
||||||
enum filebrowser_enums
|
enum filebrowser_enums
|
||||||
@ -43,7 +45,7 @@ void filebrowser_clear_type(void);
|
|||||||
|
|
||||||
void filebrowser_set_type(enum filebrowser_enums type);
|
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
|
RETRO_END_DECLS
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user