This commit is contained in:
dborth 2012-04-28 16:15:24 +00:00
parent ffbfc71e9a
commit 5899704220

View File

@ -285,7 +285,7 @@ static GXRModeObj * FindVideoMode()
mode = &TVNtsc480Prog; mode = &TVNtsc480Prog;
break; break;
case 3: // PAL (50Hz) case 3: // PAL (50Hz)
mode = &TVPal528IntDf; mode = &TVPal576IntDfScale;
break; break;
case 4: // PAL (60Hz) case 4: // PAL (60Hz)
mode = &TVEurgb60Hz480IntDf; mode = &TVEurgb60Hz480IntDf;
@ -313,17 +313,14 @@ static GXRModeObj * FindVideoMode()
#ifdef HW_RVL #ifdef HW_RVL
bool pal = false; bool pal = false;
if (mode == &TVPal528IntDf) if (mode == &TVPal576IntDfScale)
pal = true; pal = true;
if (CONF_GetAspectRatio() == CONF_ASPECT_16_9) if (CONF_GetAspectRatio() == CONF_ASPECT_16_9)
{ {
mode->fbWidth = 640;
mode->efbHeight = 456;
mode->viWidth = 686;
if (pal) if (pal)
{ {
mode = &TVPal528IntDf;
mode->xfbHeight = 542; mode->xfbHeight = 542;
mode->viHeight = 542; mode->viHeight = 542;
} }
@ -332,12 +329,13 @@ static GXRModeObj * FindVideoMode()
mode->xfbHeight = 456; mode->xfbHeight = 456;
mode->viHeight = 456; mode->viHeight = 456;
} }
mode->fbWidth = 640;
mode->efbHeight = 456;
mode->viWidth = 686;
} }
else else
{ {
if (pal)
mode = &TVPal574IntDfScale;
mode->viWidth = 672; mode->viWidth = 672;
} }