mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2025-01-28 10:55:28 +01:00
fixed default manual scaling for Master System
This commit is contained in:
parent
a77ee50ecd
commit
892abc8589
@ -482,11 +482,17 @@ static void gxSetAspectRatio(int *xscale, int *yscale)
|
|||||||
{
|
{
|
||||||
/* overscan is simulated (black) */
|
/* overscan is simulated (black) */
|
||||||
*yscale = vheight / 2;
|
*yscale = vheight / 2;
|
||||||
|
|
||||||
|
/* adjust when Genesis & Wii/GC video height does not match */
|
||||||
if (vdp_pal && (!gc_pal || config.render))
|
if (vdp_pal && (!gc_pal || config.render))
|
||||||
|
{
|
||||||
*yscale = *yscale * 240 / 288;
|
*yscale = *yscale * 240 / 288;
|
||||||
|
}
|
||||||
else if (!vdp_pal && gc_pal && !config.render)
|
else if (!vdp_pal && gc_pal && !config.render)
|
||||||
|
{
|
||||||
*yscale = *yscale * 288 / 240;
|
*yscale = *yscale * 288 / 240;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* horizontal borders */
|
/* horizontal borders */
|
||||||
if (config.overscan & 2)
|
if (config.overscan & 2)
|
||||||
@ -517,7 +523,11 @@ static void gxSetAspectRatio(int *xscale, int *yscale)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
*yscale = (gc_pal && !config.render) ? 134 : 112;
|
*yscale = (vheight == 192) ? 96 : 112;
|
||||||
|
if (gc_pal && !config.render)
|
||||||
|
{
|
||||||
|
*yscale = (*yscale * 134) / 112;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* horizontal borders */
|
/* horizontal borders */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user