whoops! fix GC compiling

This commit is contained in:
dborth 2008-11-06 06:34:18 +00:00
parent cb6105d743
commit 0f6350e4e1

View File

@ -519,12 +519,14 @@ InitGCVideo ()
if (vmode->viTVMode == VI_TVMODE_NTSC_PROG) if (vmode->viTVMode == VI_TVMODE_NTSC_PROG)
progressive = true; progressive = true;
#ifdef HW_RVL
// widescreen fix // widescreen fix
if(CONF_GetAspectRatio()) if(CONF_GetAspectRatio())
{ {
vmode->viWidth = 678; vmode->viWidth = 678;
vmode->viXOrigin = (VI_MAX_WIDTH_PAL - 678) / 2; vmode->viXOrigin = (VI_MAX_WIDTH_PAL - 678) / 2;
} }
#endif
VIDEO_Configure (vmode); VIDEO_Configure (vmode);