mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 03:10:14 +00:00
Add early return to menu_environment_get in case wrap_args
is NULL
This commit is contained in:
parent
c0b85ba34a
commit
3b3b990796
@ -62,6 +62,9 @@ static void menu_environment_get(int *argc, char *argv[],
|
||||
void *args, void *params_data)
|
||||
{
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user