mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-01 06:23:42 +00:00
Non_HAVE_MEN codepath fixes - courtesy of Karlton
t # Please enter the commit message for your changes. Lines starting
This commit is contained in:
parent
624ed06a37
commit
08e73ea144
@ -32,6 +32,7 @@
|
||||
#include "../string_list_special.h"
|
||||
#include "../libretro_version_1.h"
|
||||
#include "../system.h"
|
||||
#include "../command_event.h"
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
#include "../menu/menu_hash.h"
|
||||
|
@ -541,6 +541,7 @@ static void input_overlay_loaded(void *task_data, void *user_data, const char *e
|
||||
if (err)
|
||||
return;
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
/* We can't display when the menu is up */
|
||||
if (settings->input.overlay_hide_in_menu && menu_driver_ctl(RARCH_MENU_CTL_IS_ALIVE, NULL))
|
||||
{
|
||||
@ -548,6 +549,7 @@ static void input_overlay_loaded(void *task_data, void *user_data, const char *e
|
||||
&& settings->input.overlay_enable)
|
||||
goto abort_load;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!settings->input.overlay_enable)
|
||||
goto abort_load;
|
||||
|
@ -74,6 +74,7 @@
|
||||
#endif
|
||||
|
||||
#include "config.features.h"
|
||||
#include "command_event.h"
|
||||
|
||||
/* Descriptive names for options without short variant. Please keep the name in
|
||||
sync with the option name. Order does not matter. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user