mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-29 22:25:05 +00:00
Don't call driver_get_ptr until after call to rarch_main_state_alloc
has been made
This commit is contained in:
parent
c233418d4a
commit
248d985ae6
@ -279,13 +279,15 @@ returntype main_entry(signature())
|
||||
{
|
||||
declare_argc();
|
||||
declare_argv();
|
||||
args_type() args = (args_type())args_initial_ptr();
|
||||
int ret = 0;
|
||||
args_type() args = (args_type())args_initial_ptr();
|
||||
int ret = 0;
|
||||
settings_t *settings = NULL;
|
||||
driver_t *driver = driver_get_ptr();
|
||||
|
||||
driver_t *driver = NULL;
|
||||
|
||||
rarch_main_state_alloc();
|
||||
|
||||
driver = driver_get_ptr();
|
||||
|
||||
if (driver)
|
||||
driver->frontend_ctx = (frontend_ctx_driver_t*)frontend_ctx_init_first();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user