Correct fixed horizontal timing on PC1512 video. Fixes refresh rate.
This commit is contained in:
parent
f7e8aa652e
commit
b9e7f1b9d6
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ static uint8_t pc1512_read(uint32_t addr, void *p)
|
||||||
static void pc1512_recalctimings(pc1512_t *pc1512)
|
static void pc1512_recalctimings(pc1512_t *pc1512)
|
||||||
{
|
{
|
||||||
double _dispontime, _dispofftime, disptime;
|
double _dispontime, _dispofftime, disptime;
|
||||||
disptime = 128; /*Fixed on PC1512*/
|
disptime = 114; /*Fixed on PC1512*/
|
||||||
_dispontime = 80;
|
_dispontime = 80;
|
||||||
_dispofftime = disptime - _dispontime;
|
_dispofftime = disptime - _dispontime;
|
||||||
// printf("%i %f %f %f %i %i\n",cgamode&1,disptime,dispontime,dispofftime,crtc[0],crtc[1]);
|
// printf("%i %f %f %f %i %i\n",cgamode&1,disptime,dispontime,dispofftime,crtc[0],crtc[1]);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue