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;
|
settings_t *settings = NULL;
|
||||||
driver_t *driver = driver_get_ptr();
|
driver_t *driver = driver_get_ptr();
|
||||||
|
|
||||||
|
rarch_main_state_new();
|
||||||
|
|
||||||
driver->frontend_ctx = (frontend_ctx_driver_t*)frontend_ctx_init_first();
|
driver->frontend_ctx = (frontend_ctx_driver_t*)frontend_ctx_init_first();
|
||||||
|
|
||||||
if (!driver->frontend_ctx)
|
if (!driver->frontend_ctx)
|
||||||
|
@ -292,8 +294,6 @@ returntype main_entry(signature())
|
||||||
if (driver->frontend_ctx && driver->frontend_ctx->init)
|
if (driver->frontend_ctx && driver->frontend_ctx->init)
|
||||||
driver->frontend_ctx->init(args);
|
driver->frontend_ctx->init(args);
|
||||||
|
|
||||||
rarch_main_state_new();
|
|
||||||
|
|
||||||
if (driver->frontend_ctx)
|
if (driver->frontend_ctx)
|
||||||
{
|
{
|
||||||
if (!(ret = (main_load_content(argc, argv, args,
|
if (!(ret = (main_load_content(argc, argv, args,
|
||||||
|
|
Loading…
Reference in New Issue