Add early return to menu_environment_get in case wrap_args

is NULL
This commit is contained in:
Twinaphex 2014-10-17 00:28:03 +02:00
parent c0b85ba34a
commit 3b3b990796

View File

@ -63,6 +63,9 @@ static void menu_environment_get(int *argc, char *argv[],
{
struct rarch_main_wrap *wrap_args = (struct rarch_main_wrap*)params_data;
if (!wrap_args)
return;
wrap_args->no_content = driver.menu->load_no_content;
if (!g_extern.has_set_verbosity)
wrap_args->verbose = g_extern.verbosity;