Update loader.c

This commit is contained in:
RogueMaster
2022-09-16 15:17:59 -04:00
parent a9991ddad8
commit b67bfdf7d9
+6 -6
View File
@@ -465,12 +465,12 @@ void loader_show_menu() {
furi_thread_flags_set(loader_instance->loader_thread, LOADER_THREAD_FLAG_SHOW_MENU);
}
void loader_show_game_menu() {
furi_assert(loader_instance);
menu_set_selected_item(loader_instance->primary_menu, 10);
view_dispatcher_switch_to_view(loader_instance->view_dispatcher, LoaderMenuViewGames);
view_dispatcher_run(loader_instance->view_dispatcher);
}
// void loader_show_game_menu() {
// furi_assert(loader_instance);
// menu_set_selected_item(loader_instance->primary_menu, 10);
// view_dispatcher_switch_to_view(loader_instance->view_dispatcher, LoaderMenuViewGames);
// view_dispatcher_run(loader_instance->view_dispatcher);
// }
void loader_update_menu() {
menu_reset(loader_instance->primary_menu);