From c0bb31e24b1114f2adc6c590fca611b8b5e00ee6 Mon Sep 17 00:00:00 2001 From: OBattler Date: Wed, 13 May 2020 19:27:28 +0200 Subject: [PATCH] Tweaked io_delay a bit, makes MR BIOS'es happier on the new recompiler. --- src/pit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pit.c b/src/pit.c index 688bc9210..61d18e317 100644 --- a/src/pit.c +++ b/src/pit.c @@ -1017,7 +1017,7 @@ pit_set_clock(int clock) xt_cpu_multi <<= 32ULL; /* Delay for empty I/O ports. */ - io_delay = (int) round(((double) machines[machine].cpu[cpu_manufacturer].cpus[cpu_effective].rspeed) / 2000000.0); + io_delay = (int) round(((double) machines[machine].cpu[cpu_manufacturer].cpus[cpu_effective].rspeed) / 3000000.0); MDACONST = (uint64_t) (cpuclock / 2032125.0 * (double)(1ull << 32)); HERCCONST = MDACONST;