mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
Porch adjust to fix aspect
This commit is contained in:
parent
31919e9a61
commit
b4996e6d41
@ -103,7 +103,7 @@ static bool x11_set_resolution(void *data,
|
|||||||
|
|
||||||
crt_en = true;
|
crt_en = true;
|
||||||
|
|
||||||
hsp = width*1.14;
|
hsp = width*1.16;
|
||||||
|
|
||||||
/* set core refresh from hz */
|
/* set core refresh from hz */
|
||||||
video_monitor_set_refresh_rate(hz);
|
video_monitor_set_refresh_rate(hz);
|
||||||
@ -115,8 +115,8 @@ static bool x11_set_resolution(void *data,
|
|||||||
crt_aspect_ratio_switch(width, height);
|
crt_aspect_ratio_switch(width, height);
|
||||||
}
|
}
|
||||||
|
|
||||||
hfp = width+16;
|
hfp = width+8;
|
||||||
hbp = width*1.22;
|
hbp = width*1.32;
|
||||||
hmax = hbp;
|
hmax = hbp;
|
||||||
|
|
||||||
if (height < 241)
|
if (height < 241)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user