Merge pull request #74 from alphanu1/alphanu1-patch-70
Porch adjust to fix aspect
This commit is contained in:
commit
05cf6fa114
|
@ -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…
Reference in New Issue