mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Disable this by default for lakka and vita
This commit is contained in:
parent
852ef54b7d
commit
9bf8465e02
@ -228,11 +228,15 @@ static const bool display_keyboard_overlay = false;
|
|||||||
#ifdef HAVE_MENU
|
#ifdef HAVE_MENU
|
||||||
#include "menu/menu_driver.h"
|
#include "menu/menu_driver.h"
|
||||||
|
|
||||||
static bool default_block_config_read = true;
|
static bool default_block_config_read = true;
|
||||||
|
|
||||||
static bool menu_show_online_updater = true;
|
static bool menu_show_online_updater = true;
|
||||||
|
|
||||||
|
#if defined(HAVE_LAKKA) || defined(VITA)
|
||||||
|
static bool menu_show_core_updater = false;
|
||||||
|
#else
|
||||||
static bool menu_show_core_updater = true;
|
static bool menu_show_core_updater = true;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_XMB
|
#ifdef HAVE_XMB
|
||||||
static unsigned xmb_scale_factor = 100;
|
static unsigned xmb_scale_factor = 100;
|
||||||
|
@ -3149,6 +3149,13 @@ static int menu_displaylist_parse_options(
|
|||||||
#ifdef HAVE_NETWORKING
|
#ifdef HAVE_NETWORKING
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
|
|
||||||
|
if (settings->bools.menu_show_core_updater)
|
||||||
|
menu_entries_append_enum(info->list,
|
||||||
|
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_CORE_UPDATER_LIST),
|
||||||
|
msg_hash_to_str(MENU_ENUM_LABEL_CORE_UPDATER_LIST),
|
||||||
|
MENU_ENUM_LABEL_CORE_UPDATER_LIST,
|
||||||
|
MENU_SETTING_ACTION, 0, 0);
|
||||||
|
|
||||||
#ifdef HAVE_LAKKA
|
#ifdef HAVE_LAKKA
|
||||||
menu_entries_append_enum(info->list,
|
menu_entries_append_enum(info->list,
|
||||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_UPDATE_LAKKA),
|
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_UPDATE_LAKKA),
|
||||||
@ -3167,14 +3174,6 @@ static int menu_displaylist_parse_options(
|
|||||||
msg_hash_to_str(MENU_ENUM_LABEL_DOWNLOAD_CORE_CONTENT_DIRS),
|
msg_hash_to_str(MENU_ENUM_LABEL_DOWNLOAD_CORE_CONTENT_DIRS),
|
||||||
MENU_ENUM_LABEL_DOWNLOAD_CORE_CONTENT_DIRS,
|
MENU_ENUM_LABEL_DOWNLOAD_CORE_CONTENT_DIRS,
|
||||||
MENU_SETTING_ACTION, 0, 0);
|
MENU_SETTING_ACTION, 0, 0);
|
||||||
#else
|
|
||||||
#if !defined(VITA)
|
|
||||||
if (settings->bools.menu_show_core_updater)
|
|
||||||
menu_entries_append_enum(info->list,
|
|
||||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_CORE_UPDATER_LIST),
|
|
||||||
msg_hash_to_str(MENU_ENUM_LABEL_CORE_UPDATER_LIST),
|
|
||||||
MENU_ENUM_LABEL_CORE_UPDATER_LIST,
|
|
||||||
MENU_SETTING_ACTION, 0, 0);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
menu_entries_append_enum(info->list,
|
menu_entries_append_enum(info->list,
|
||||||
@ -3191,14 +3190,12 @@ static int menu_displaylist_parse_options(
|
|||||||
MENU_SETTING_ACTION, 0, 0);
|
MENU_SETTING_ACTION, 0, 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(VITA)
|
|
||||||
if (settings->bools.menu_show_core_updater)
|
if (settings->bools.menu_show_core_updater)
|
||||||
menu_entries_append_enum(info->list,
|
menu_entries_append_enum(info->list,
|
||||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_UPDATE_CORE_INFO_FILES),
|
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_UPDATE_CORE_INFO_FILES),
|
||||||
msg_hash_to_str(MENU_ENUM_LABEL_UPDATE_CORE_INFO_FILES),
|
msg_hash_to_str(MENU_ENUM_LABEL_UPDATE_CORE_INFO_FILES),
|
||||||
MENU_ENUM_LABEL_UPDATE_CORE_INFO_FILES,
|
MENU_ENUM_LABEL_UPDATE_CORE_INFO_FILES,
|
||||||
MENU_SETTING_ACTION, 0, 0);
|
MENU_SETTING_ACTION, 0, 0);
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_UPDATE_ASSETS
|
#ifdef HAVE_UPDATE_ASSETS
|
||||||
menu_entries_append_enum(info->list,
|
menu_entries_append_enum(info->list,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user