(GX) Fix Gamecube build
This commit is contained in:
parent
1abc1b40a6
commit
542a6b0385
|
@ -1866,9 +1866,11 @@ static int video_option_toggle_setting(rgui_handle_t *rgui, unsigned setting, rg
|
||||||
{
|
{
|
||||||
if (rgui_current_gx_resolution < GX_RESOLUTIONS_LAST - 1)
|
if (rgui_current_gx_resolution < GX_RESOLUTIONS_LAST - 1)
|
||||||
{
|
{
|
||||||
|
#ifdef HW_RVL
|
||||||
if ((rgui_current_gx_resolution + 1) > GX_RESOLUTIONS_640_480)
|
if ((rgui_current_gx_resolution + 1) > GX_RESOLUTIONS_640_480)
|
||||||
if (CONF_GetVideo() != CONF_VIDEO_PAL)
|
if (CONF_GetVideo() != CONF_VIDEO_PAL)
|
||||||
return 0;
|
return 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
rgui_current_gx_resolution++;
|
rgui_current_gx_resolution++;
|
||||||
gx_set_video_mode(rgui_gx_resolutions[rgui_current_gx_resolution][0],
|
gx_set_video_mode(rgui_gx_resolutions[rgui_current_gx_resolution][0],
|
||||||
|
|
Loading…
Reference in New Issue