mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-22 10:39:18 +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
|
||||||
vmode->viWidth = 678;
|
if(CONF_GetAspectRatio())
|
||||||
vmode->viXOrigin = (VI_MAX_WIDTH_PAL - 678) / 2;
|
{
|
||||||
|
vmode->viWidth = 678;
|
||||||
|
vmode->viXOrigin = (VI_MAX_WIDTH_PAL - 678) / 2;
|
||||||
|
}
|
||||||
|
|
||||||
VIDEO_Configure(vmode);
|
VIDEO_Configure(vmode);
|
||||||
|
|
||||||
@ -347,7 +350,7 @@ void UpdateScaling()
|
|||||||
{
|
{
|
||||||
int xscale;
|
int xscale;
|
||||||
int yscale;
|
int yscale;
|
||||||
|
|
||||||
// keep correct aspect ratio
|
// keep correct aspect ratio
|
||||||
// and use entire screen
|
// and use entire screen
|
||||||
if(vwidth == 240) // GBA
|
if(vwidth == 240) // GBA
|
||||||
|
Loading…
Reference in New Issue
Block a user