mirror of
https://github.com/dborth/vbagx.git
synced 2024-12-25 02:02:02 +01:00
correct widescreen fix
This commit is contained in:
parent
625b02031f
commit
7740c1c0a2
@ -306,8 +306,11 @@ void InitialiseVideo ()
|
||||
progressive = true;
|
||||
|
||||
// widescreen fix
|
||||
vmode->viWidth = 678;
|
||||
vmode->viXOrigin = (VI_MAX_WIDTH_PAL - 678) / 2;
|
||||
if(CONF_GetAspectRatio())
|
||||
{
|
||||
vmode->viWidth = 678;
|
||||
vmode->viXOrigin = (VI_MAX_WIDTH_PAL - 678) / 2;
|
||||
}
|
||||
|
||||
VIDEO_Configure(vmode);
|
||||
|
||||
@ -347,7 +350,7 @@ void UpdateScaling()
|
||||
{
|
||||
int xscale;
|
||||
int yscale;
|
||||
|
||||
|
||||
// keep correct aspect ratio
|
||||
// and use entire screen
|
||||
if(vwidth == 240) // GBA
|
||||
|
Loading…
Reference in New Issue
Block a user