mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +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,
|
static int action_ok_push_random_dir(const char *path,
|
||||||
const char *label, unsigned type, size_t idx, size_t entry_idx)
|
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,
|
return generic_action_ok_displaylist_push(path, path,
|
||||||
msg_hash_to_str(MENU_ENUM_LABEL_FAVORITES),
|
msg_hash_to_str(MENU_ENUM_LABEL_FAVORITES),
|
||||||
type, idx,
|
type, idx,
|
||||||
|
@ -49,6 +49,7 @@ void filebrowser_clear_type(void)
|
|||||||
|
|
||||||
void filebrowser_set_type(enum filebrowser_enums type)
|
void filebrowser_set_type(enum filebrowser_enums type)
|
||||||
{
|
{
|
||||||
|
if (filebrowser_types != FILEBROWSER_SELECT_FILE)
|
||||||
filebrowser_types = type;
|
filebrowser_types = type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user