Move rarch_main_state_new up

This commit is contained in:
twinaphex 2015-03-21 19:04:20 +01:00
parent 2721c84a1b
commit ff83aab195

View File

@ -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,