From 18e15a822d8d94115a9c89054fc0983b1381a82b Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 13 Dec 2016 03:44:18 +0100 Subject: [PATCH] Make sure that filebrowser_type gets properly 'reset' before entering 'Load Content' --- menu/cbs/menu_cbs_ok.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/menu/cbs/menu_cbs_ok.c b/menu/cbs/menu_cbs_ok.c index faf3c69753..1130f10541 100644 --- a/menu/cbs/menu_cbs_ok.c +++ b/menu/cbs/menu_cbs_ok.c @@ -1829,6 +1829,7 @@ static int action_ok_remap_file_save_game(const char *path, int action_ok_path_use_directory(const char *path, const char *label, unsigned type, size_t idx, size_t entry_idx) { + filebrowser_types = FILEBROWSER_NONE; return generic_action_ok(NULL, label, type, idx, entry_idx, ACTION_OK_SET_DIRECTORY, MSG_UNKNOWN); } @@ -3164,6 +3165,7 @@ int action_ok_push_filebrowser_list_dir_select(const char *path, static int action_ok_push_default(const char *path, const char *label, unsigned type, size_t idx, size_t entry_idx) { + filebrowser_types = FILEBROWSER_NONE; return generic_action_ok_displaylist_push(path, NULL, label, type, idx, entry_idx, ACTION_OK_DL_PUSH_DEFAULT); }