From 16c4035e1c1562c0a0d9f4b50bb3d9f58513d44a Mon Sep 17 00:00:00 2001 From: jdgleaver Date: Tue, 14 Jan 2020 14:04:34 +0000 Subject: [PATCH] DISABLE_MENU=1 build fix --- retroarch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/retroarch.c b/retroarch.c index 9befb5a23b..a5ca1ffc26 100644 --- a/retroarch.c +++ b/retroarch.c @@ -7593,10 +7593,12 @@ TODO: Add a setting for these tweaks */ command_event_disk_control_set_eject(new_state, print_log); +#if defined(HAVE_MENU) /* It is necessary to refresh the disk options * menu when toggling the tray state */ menu_entries_ctl(MENU_ENTRIES_CTL_SET_REFRESH, &refresh); menu_driver_ctl(RARCH_MENU_CTL_SET_PREVENT_POPULATE, NULL); +#endif } } else