Non_HAVE_MEN codepath fixes - courtesy of Karlton

t # Please enter the commit message for your changes. Lines starting
This commit is contained in:
twinaphex 2016-01-02 02:54:20 +01:00
parent 624ed06a37
commit 08e73ea144
3 changed files with 4 additions and 0 deletions

View File

@ -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"

View File

@ -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;

View File

@ -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. */