(RGUI) Buildfix

This commit is contained in:
libretroadmin 2022-05-21 13:54:37 +02:00
parent c48209d323
commit 28bfa238d4

View File

@ -5705,6 +5705,7 @@ static bool rgui_set_aspect_ratio(rgui_t *rgui,
{
unsigned base_term_width;
unsigned mini_thumbnail_term_width;
settings_t *settings = config_get_ptr();
#if defined(GEKKO)
/* Note: Maximum Wii frame buffer width is 424, not
* the usual 426, since the last two bits of the
@ -5721,7 +5722,6 @@ static bool rgui_set_aspect_ratio(rgui_t *rgui,
unsigned aspect_ratio = RGUI_DINGUX_ASPECT_RATIO;
unsigned aspect_ratio_lock = RGUI_ASPECT_RATIO_LOCK_NONE;
#else
settings_t *settings = config_get_ptr();
unsigned aspect_ratio = settings->uints.menu_rgui_aspect_ratio;
unsigned aspect_ratio_lock = settings->uints.menu_rgui_aspect_ratio_lock;
#endif