1
0
mirror of https://github.com/libretro/RetroArch synced 2025-04-02 16:20:39 +00:00

Add content_loaded callback function invocation when content

is loaded
This commit is contained in:
twinaphex 2014-10-17 04:49:25 +02:00
parent 7b2deee502
commit b2aab151c8

@ -2013,6 +2013,8 @@ void rarch_main_set_state(unsigned cmd)
if (!load_menu_content()) if (!load_menu_content())
rarch_main_set_state(RARCH_ACTION_STATE_MENU_RUNNING); rarch_main_set_state(RARCH_ACTION_STATE_MENU_RUNNING);
#endif #endif
if (driver.frontend_ctx && driver.frontend_ctx->content_loaded)
driver.frontend_ctx->content_loaded();
break; break;
case RARCH_ACTION_STATE_MENU_RUNNING_FINISHED: case RARCH_ACTION_STATE_MENU_RUNNING_FINISHED:
#ifdef HAVE_MENU #ifdef HAVE_MENU