From b9e7f1b9d6060b967ca38df7d4f89d4bca641a91 Mon Sep 17 00:00:00 2001 From: SarahW Date: Fri, 26 Apr 2019 17:48:22 +0100 Subject: [PATCH] Correct fixed horizontal timing on PC1512 video. Fixes refresh rate. --- src/vid_pc1512.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vid_pc1512.c b/src/vid_pc1512.c index 2b8a229..a5e4983 100644 --- a/src/vid_pc1512.c +++ b/src/vid_pc1512.c @@ -148,7 +148,7 @@ static uint8_t pc1512_read(uint32_t addr, void *p) static void pc1512_recalctimings(pc1512_t *pc1512) { double _dispontime, _dispofftime, disptime; - disptime = 128; /*Fixed on PC1512*/ + disptime = 114; /*Fixed on PC1512*/ _dispontime = 80; _dispofftime = disptime - _dispontime; // printf("%i %f %f %f %i %i\n",cgamode&1,disptime,dispontime,dispofftime,crtc[0],crtc[1]);