menu: Reset position after pushing quick menu.

Fixes:
  https://github.com/libretro/RetroArch/issues/5595
  https://github.com/libretro/RetroArch/issues/2506
This commit is contained in:
orbea 2018-12-21 18:40:21 -08:00
parent b55ed9e3ce
commit 4da7092aff
2 changed files with 3 additions and 2 deletions

View File

@ -1979,6 +1979,8 @@ bool menu_driver_iterate(menu_ctx_iterate_t *iterate)
return false; return false;
} }
menu_navigation_set_selection(0);
return true; return true;
} }

View File

@ -1654,7 +1654,7 @@ bool task_push_start_builtin_core(
/* Preliminary stuff that has to be done before we /* Preliminary stuff that has to be done before we
* load the actual content. Can differ per mode. */ * load the actual content. Can differ per mode. */
retroarch_set_current_core_type(type, true); retroarch_set_current_core_type(type, true);
printf("Step 1\n");
/* Load content */ /* Load content */
if (!task_load_content_callback(content_info, true, false)) if (!task_load_content_callback(content_info, true, false))
{ {
@ -1718,7 +1718,6 @@ bool task_push_load_content_with_core_from_menu(
return true; return true;
} }
bool task_push_load_subsystem_with_core_from_menu( bool task_push_load_subsystem_with_core_from_menu(
const char *fullpath, const char *fullpath,
content_ctx_info_t *content_info, content_ctx_info_t *content_info,