mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +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;
|
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)
|
||||||
|
@ -93,9 +93,9 @@ static void crt_screen_setup_aspect(unsigned width, unsigned height)
|
|||||||
{
|
{
|
||||||
/* detect menu only */
|
/* detect menu only */
|
||||||
if (width < 1920)
|
if (width < 1920)
|
||||||
width = 704;
|
width = 320;
|
||||||
|
|
||||||
height = 480;
|
height = 240;
|
||||||
|
|
||||||
crt_aspect_ratio_switch(width, height);
|
crt_aspect_ratio_switch(width, height);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user