DISABLE_MENU fix

This commit is contained in:
Tony Jansson 2020-10-21 23:34:32 +03:00
parent 081ebba417
commit 2dd03cc0d2
1 changed files with 2 additions and 1 deletions

View File

@ -16308,11 +16308,12 @@ bool command_event(enum event_command cmd, void *data)
if (is_inited)
{
#ifdef HAVE_MENU
if ( (settings->uints.quit_on_close_content == QUIT_ON_CLOSE_CONTENT_CLI && global->launched_from_cli)
|| settings->uints.quit_on_close_content == QUIT_ON_CLOSE_CONTENT_ENABLED
)
command_event(CMD_EVENT_QUIT, NULL);
#endif
if (!task_push_start_dummy_core(&content_info))
return false;
}