mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
(MSVC 2010) Buildfix
This commit is contained in:
parent
30e8ec6543
commit
925ec7bc82
@ -11909,15 +11909,12 @@ static bool setting_append_list(
|
||||
(*list)[list_info->index - 1].action_left = &setting_bool_action_left_with_refresh;
|
||||
(*list)[list_info->index - 1].action_right = &setting_bool_action_right_with_refresh;
|
||||
|
||||
#if (defined(RARCH_CONSOLE) || defined(RARCH_MOBILE))
|
||||
CONFIG_FLOAT(
|
||||
list, list_info,
|
||||
&settings->floats.menu_widget_scale_factor,
|
||||
MENU_ENUM_LABEL_MENU_WIDGET_SCALE_FACTOR,
|
||||
#if (defined(RARCH_CONSOLE) || defined(RARCH_MOBILE))
|
||||
MENU_ENUM_LABEL_VALUE_MENU_WIDGET_SCALE_FACTOR,
|
||||
#else
|
||||
MENU_ENUM_LABEL_VALUE_MENU_WIDGET_SCALE_FACTOR_FULLSCREEN,
|
||||
#endif
|
||||
DEFAULT_MENU_WIDGET_SCALE_FACTOR,
|
||||
"%.2fx",
|
||||
&group_info,
|
||||
@ -11925,6 +11922,21 @@ static bool setting_append_list(
|
||||
parent_group,
|
||||
general_write_handler,
|
||||
general_read_handler);
|
||||
#else
|
||||
CONFIG_FLOAT(
|
||||
list, list_info,
|
||||
&settings->floats.menu_widget_scale_factor,
|
||||
MENU_ENUM_LABEL_MENU_WIDGET_SCALE_FACTOR,
|
||||
MENU_ENUM_LABEL_VALUE_MENU_WIDGET_SCALE_FACTOR_FULLSCREEN,
|
||||
DEFAULT_MENU_WIDGET_SCALE_FACTOR,
|
||||
"%.2fx",
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
general_write_handler,
|
||||
general_read_handler);
|
||||
#endif
|
||||
|
||||
(*list)[list_info->index - 1].action_ok = &setting_action_ok_uint;
|
||||
menu_settings_list_current_add_range(list, list_info, 0.2, 5.0, 0.01, true, true);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user