mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
Move rarch_main_state_new up
This commit is contained in:
parent
2721c84a1b
commit
ff83aab195
@ -284,6 +284,8 @@ returntype main_entry(signature())
|
||||
settings_t *settings = NULL;
|
||||
driver_t *driver = driver_get_ptr();
|
||||
|
||||
rarch_main_state_new();
|
||||
|
||||
driver->frontend_ctx = (frontend_ctx_driver_t*)frontend_ctx_init_first();
|
||||
|
||||
if (!driver->frontend_ctx)
|
||||
@ -292,8 +294,6 @@ returntype main_entry(signature())
|
||||
if (driver->frontend_ctx && driver->frontend_ctx->init)
|
||||
driver->frontend_ctx->init(args);
|
||||
|
||||
rarch_main_state_new();
|
||||
|
||||
if (driver->frontend_ctx)
|
||||
{
|
||||
if (!(ret = (main_load_content(argc, argv, args,
|
||||
|
Loading…
Reference in New Issue
Block a user