mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-08 21:01:08 +00:00
Fix #4920
This commit is contained in:
parent
4d24153870
commit
f341f70705
@ -3600,6 +3600,7 @@ static int action_ok_scan_directory_list(const char *path,
|
||||
static int action_ok_push_random_dir(const char *path,
|
||||
const char *label, unsigned type, size_t idx, size_t entry_idx)
|
||||
{
|
||||
filebrowser_set_type(FILEBROWSER_SELECT_DIR);
|
||||
return generic_action_ok_displaylist_push(path, path,
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_FAVORITES),
|
||||
type, idx,
|
||||
|
@ -49,8 +49,7 @@ void filebrowser_clear_type(void)
|
||||
|
||||
void filebrowser_set_type(enum filebrowser_enums type)
|
||||
{
|
||||
if (filebrowser_types != FILEBROWSER_SELECT_FILE)
|
||||
filebrowser_types = type;
|
||||
filebrowser_types = type;
|
||||
}
|
||||
|
||||
void filebrowser_parse(void *data, unsigned type_data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user