mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Merge pull request #6827 from alphanu1/master
Porch adjust to fix aspect and 240p menu for CRT
This commit is contained in:
commit
06aab60307
@ -103,7 +103,7 @@ static bool x11_set_resolution(void *data,
|
||||
|
||||
crt_en = true;
|
||||
|
||||
hsp = width*1.14;
|
||||
hsp = width*1.16;
|
||||
|
||||
/* set core refresh from hz */
|
||||
video_monitor_set_refresh_rate(hz);
|
||||
@ -115,8 +115,8 @@ static bool x11_set_resolution(void *data,
|
||||
crt_aspect_ratio_switch(width, height);
|
||||
}
|
||||
|
||||
hfp = width+16;
|
||||
hbp = width*1.22;
|
||||
hfp = width+8;
|
||||
hbp = width*1.32;
|
||||
hmax = hbp;
|
||||
|
||||
if (height < 241)
|
||||
|
@ -93,9 +93,9 @@ static void crt_screen_setup_aspect(unsigned width, unsigned height)
|
||||
{
|
||||
/* detect menu only */
|
||||
if (width < 1920)
|
||||
width = 704;
|
||||
width = 320;
|
||||
|
||||
height = 480;
|
||||
height = 240;
|
||||
|
||||
crt_aspect_ratio_switch(width, height);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user