Merge pull request #6827 from alphanu1/master

Porch adjust to fix aspect and 240p menu for CRT
This commit is contained in:
Twinaphex 2018-05-25 12:21:04 +02:00 committed by GitHub
commit 06aab60307
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -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)

View File

@ -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);
}