(GX) Fix Gamecube build

This commit is contained in:
twinaphex 2013-05-24 18:38:13 +02:00
parent 1abc1b40a6
commit 542a6b0385
1 changed files with 2 additions and 0 deletions

View File

@ -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)
{
#ifdef HW_RVL
if ((rgui_current_gx_resolution + 1) > GX_RESOLUTIONS_640_480)
if (CONF_GetVideo() != CONF_VIDEO_PAL)
return 0;
#endif
rgui_current_gx_resolution++;
gx_set_video_mode(rgui_gx_resolutions[rgui_current_gx_resolution][0],