diff --git a/frontend/frontend.c b/frontend/frontend.c index 4c7de987fc..1888248fcb 100644 --- a/frontend/frontend.c +++ b/frontend/frontend.c @@ -85,16 +85,31 @@ int main_entry_decide(signature(), args_type() args) frontend_loop = NULL; if (g_extern.lifecycle_state & (1ULL << MODE_CLEAR_INPUT)) + { + RARCH_LOG("Frontend loop state changed : MODE_CLEAR_INPUT.\n"); frontend_loop = main_entry_iterate_clear_input; + } else if (g_extern.lifecycle_state & (1ULL << MODE_LOAD_GAME)) + { + RARCH_LOG("Frontend loop state changed : MODE_LOAD_GAME.\n"); frontend_loop = main_entry_iterate_load_content; + } else if (g_extern.lifecycle_state & (1ULL << MODE_GAME)) + { + RARCH_LOG("Frontend loop state changed : MODE_GAME.\n"); frontend_loop = main_entry_iterate_content; + } #ifdef HAVE_MENU else if (g_extern.lifecycle_state & (1ULL << MODE_MENU_PREINIT)) + { + RARCH_LOG("Frontend loop state changed : MODE_MENU_PREINIT.\n"); frontend_loop = main_entry_iterate_menu_preinit; + } else if (g_extern.lifecycle_state & (1ULL << MODE_MENU)) + { + RARCH_LOG("Frontend loop state changed : MODE_MENU.\n"); frontend_loop = main_entry_iterate_menu; + } #endif return 0;