mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 13:14:04 +00:00
menu_setting: add forgotten ifdefs for building without XMB menu
Silences these warnings when compiling without XMB: menu/menu_setting.c:882:13: warning: ‘setting_get_string_representation_uint_xmb_layout’ defined but not used [-Wunused-function] static void setting_get_string_representation_uint_xmb_layout( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu/menu_setting.c:822:13: warning: ‘setting_get_string_representation_uint_xmb_icon_theme’ defined but not used [-Wunused-function] static void setting_get_string_representation_uint_xmb_icon_theme( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu/menu_setting.c:1074:13: warning: ‘setting_get_string_representation_uint_xmb_shader_pipeline’ defined but not used [-Wunused-function] static void setting_get_string_representation_uint_xmb_shader_pipeline( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
parent
4ce93b11ee
commit
58a32ab4b3
@ -819,6 +819,7 @@ static void setting_get_string_representation_uint_rgui_thumbnail_scaler(
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef HAVE_XMB
|
||||
static void setting_get_string_representation_uint_xmb_icon_theme(
|
||||
rarch_setting_t *setting,
|
||||
char *s, size_t len)
|
||||
@ -878,7 +879,9 @@ static void setting_get_string_representation_uint_xmb_icon_theme(
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_XMB
|
||||
static void setting_get_string_representation_uint_xmb_layout(
|
||||
rarch_setting_t *setting,
|
||||
char *s, size_t len)
|
||||
@ -899,6 +902,7 @@ static void setting_get_string_representation_uint_xmb_layout(
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_MATERIALUI
|
||||
static void setting_get_string_representation_uint_materialui_menu_color_theme(
|
||||
@ -1066,7 +1070,7 @@ static void setting_get_string_representation_uint_ozone_menu_color_theme(
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SHADERPIPELINE
|
||||
#if defined(HAVE_XMB) && defined(HAVE_SHADERPIPELINE)
|
||||
static void setting_get_string_representation_uint_xmb_shader_pipeline(
|
||||
rarch_setting_t *setting,
|
||||
char *s, size_t len)
|
||||
|
Loading…
x
Reference in New Issue
Block a user