(Settings data) Add Overlay Enable option

This commit is contained in:
twinaphex 2014-07-08 13:55:23 +02:00
parent e384d7b056
commit a7c9137c0d
2 changed files with 3 additions and 0 deletions

View File

@ -342,6 +342,8 @@ static const char *default_overlay_dir = NULL;
#endif
#endif
static const bool default_overlay_enable = false;
#if defined(__QNX__)
static const char *default_shader_dir = "/app/native/shaders_glsl/";
#elif defined(ANDROID)

View File

@ -508,6 +508,7 @@ const rarch_setting_t* setting_data_get_list(void)
#ifdef HAVE_OVERLAY
CONFIG_BOOL(g_settings.input.overlay_enable, "input_overlay_enable", "Overlay Enable", default_overlay_enable)
CONFIG_PATH(g_extern.overlay_dir, "overlay_directory", "Overlay Directory", default_overlay_dir) WITH_FLAGS(SD_FLAG_ALLOW_EMPTY | SD_FLAG_PATH_DIR)
#endif
CONFIG_PATH(g_settings.screenshot_directory, "screenshot_directory", "Screenshot Directory", DEFAULT_ME_YO) WITH_FLAGS(SD_FLAG_ALLOW_EMPTY | SD_FLAG_PATH_DIR)