g_settings.menu.throttle is no longer used and is enabled by

default
This commit is contained in:
twinaphex 2015-03-09 19:20:15 +01:00
parent 2a40cd5939
commit 14aff4031b
3 changed files with 0 additions and 19 deletions

View File

@ -600,9 +600,6 @@
# Shows current core inside menu.
# menu_core_enable = true
# Throttle the menu to ~60 FPS instead of using v-sync. Useful for 120+Hz monitors.
# menu_throttle = false
# Path to a .png image to set as menu wallpaper.
# menu_wallpaper =

View File

@ -491,7 +491,6 @@ static void config_set_defaults(void)
g_settings.menu.mouse_enable = false;
g_settings.menu.timedate_enable = true;
g_settings.menu.core_enable = true;
g_settings.menu.throttle = false;
*g_settings.menu.wallpaper = '\0';
g_settings.menu.navigation.wraparound.horizontal_enable = true;
g_settings.menu.navigation.wraparound.vertical_enable = true;
@ -1121,7 +1120,6 @@ static bool config_load_file(const char *path, bool set_defaults)
CONFIG_GET_BOOL(menu.collapse_subgroups_enable, "menu_collapse_subgroups_enable");
CONFIG_GET_BOOL(menu.show_advanced_settings, "menu_show_advanced_settings");
CONFIG_GET_PATH(menu.wallpaper, "menu_wallpaper");
CONFIG_GET_BOOL(menu.throttle, "menu_throttle");
if (!strcmp(g_settings.menu.wallpaper, "default"))
*g_settings.menu.wallpaper = '\0';
#endif
@ -1889,7 +1887,6 @@ bool config_save_file(const char *path)
config_set_bool(conf,"menu_mouse_enable", g_settings.menu.mouse_enable);
config_set_bool(conf,"menu_timedate_enable", g_settings.menu.timedate_enable);
config_set_bool(conf,"menu_core_enable", g_settings.menu.core_enable);
config_set_bool(conf,"menu_throttle", g_settings.menu.throttle);
config_set_path(conf, "menu_wallpaper", g_settings.menu.wallpaper);
#endif
config_set_bool(conf, "video_vsync", g_settings.video.vsync);

View File

@ -5099,19 +5099,6 @@ static bool setting_data_append_list_menu_options(
settings_list_current_add_values(list, list_info, "png");
settings_data_list_current_add_flags(list, list_info, SD_FLAG_ALLOW_EMPTY);
CONFIG_BOOL(
g_settings.menu.throttle,
"menu_throttle",
"Throttle menu speed",
false,
"OFF",
"ON",
group_info.name,
subgroup_info.name,
general_write_handler,
general_read_handler);
CONFIG_BOOL(
g_settings.menu.pause_libretro,
"menu_pause_libretro",