From 2dd03cc0d2fde09867cd3593624200ff368ab0d9 Mon Sep 17 00:00:00 2001 From: Tony Jansson Date: Wed, 21 Oct 2020 23:34:32 +0300 Subject: [PATCH] DISABLE_MENU fix --- retroarch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/retroarch.c b/retroarch.c index 88c1f221cd..f1a5578894 100644 --- a/retroarch.c +++ b/retroarch.c @@ -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; }