correct widescreen fix

This commit is contained in:
dborth 2008-11-05 17:29:49 +00:00
parent 625b02031f
commit 7740c1c0a2

View File

@ -306,8 +306,11 @@ void InitialiseVideo ()
progressive = true; progressive = true;
// widescreen fix // widescreen fix
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;
}
VIDEO_Configure(vmode); VIDEO_Configure(vmode);