mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Revert "Fix #4920"
This reverts commit f341f70705b7332499dcfa37e18da480fcb3afca.
This commit is contained in:
parent
89dddaf9f0
commit
6d20fa96e0
@ -3600,7 +3600,6 @@ 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,7 +49,8 @@ void filebrowser_clear_type(void)
|
||||
|
||||
void filebrowser_set_type(enum filebrowser_enums type)
|
||||
{
|
||||
filebrowser_types = type;
|
||||
if (filebrowser_types != FILEBROWSER_SELECT_FILE)
|
||||
filebrowser_types = type;
|
||||
}
|
||||
|
||||
void filebrowser_parse(void *data, unsigned type_data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user