1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-08 12:15:49 +00:00

Make it possible to compile again with ./configure --disable-rgui

This commit is contained in:
twinaphex 2016-08-01 18:29:26 +02:00
parent 2665212237
commit 60158f5247
3 changed files with 7 additions and 0 deletions

View File

@ -41,6 +41,7 @@
#include "frontend/frontend_driver.h"
#include "audio/audio_driver.h"
#include "record/record_driver.h"
#include "file_path_special.h"
#include "autosave.h"
#include "core_info.h"
#include "core_type.h"

View File

@ -1298,7 +1298,9 @@ static bool config_load_file(const char *path, bool set_defaults)
{ "sort_savefiles_enable", &settings->sort_savefiles_enable},
{ "sort_savestates_enable", &settings->sort_savestates_enable},
{ "config_save_on_exit", &settings->config_save_on_exit},
#ifdef HAVE_MENU
{ "dpi_override_enable", &settings->menu.dpi.override_enable},
#endif
{ "ui_menubar_enable", &settings->ui.menubar_enable},
{ "suspend_screensaver_enable", &settings->ui.suspend_screensaver_enable},
{ "load_dummy_on_core_shutdown", &settings->load_dummy_on_core_shutdown},
@ -1458,9 +1460,11 @@ static bool config_load_file(const char *path, bool set_defaults)
{ "input_overlay_scale", &settings->input.overlay_scale},
{ "slowmotion_ratio", &settings->slowmotion_ratio},
{ "fastforward_ratio", &settings->fastforward_ratio},
#ifdef HAVE_MENU
{ "menu_wallpaper_opacity", &settings->menu.wallpaper.opacity},
{ "menu_footer_opacity", &settings->menu.footer.opacity},
{ "menu_header_opacity", &settings->menu.header.opacity},
#endif
{ "video_aspect_ratio", &settings->video.aspect_ratio},
{ "video_refresh_rate", &settings->video.refresh_rate},
{ "video_font_size", &settings->video.font_size},

View File

@ -1848,6 +1848,7 @@ int menu_hash_get_help_us_enum(enum msg_hash_enums msg, char *s, size_t len)
return 0;
}
#ifdef HAVE_MENU
static const char *menu_hash_to_str_us_label_enum(enum msg_hash_enums msg)
{
if (msg <= MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_END &&
@ -2889,6 +2890,7 @@ static const char *menu_hash_to_str_us_label_enum(enum msg_hash_enums msg)
return "null";
}
#endif
const char *msg_hash_to_str_us(enum msg_hash_enums msg)
{