mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-26 04:24:16 +01:00
correct widescreen fix
This commit is contained in:
parent
625b02031f
commit
7740c1c0a2
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user