From c7314eb3c827d215729158d9c6316cb8b83dbf78 Mon Sep 17 00:00:00 2001 From: David Shadoff <46657586+dshadoff@users.noreply.github.com> Date: Mon, 13 Sep 2021 12:05:41 -0400 Subject: [PATCH] Slightly adjust CD DATA read speed to correct TurboGrafx16_MiSTer#162 Slightly increase CD READ speed (data throughput). Slight adjustments in seek time may be needed in future in case lip syncing is affected. --- support/pcecd/pcecd.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/support/pcecd/pcecd.cpp b/support/pcecd/pcecd.cpp index de7f55f..bd2206a 100644 --- a/support/pcecd/pcecd.cpp +++ b/support/pcecd/pcecd.cpp @@ -26,8 +26,7 @@ void pcecd_poll() if (CheckTimer(poll_timer)) { if ((!pcecdd.latency) && (pcecdd.state == PCECD_STATE_READ)) { - poll_timer += 16 + ((adj == 10) ? 1 : 0); // 16.1ms between frames if reading data */ - if (--adj <= 0) adj = 10; + poll_timer += 16; // 16.0ms between frames if reading data */ } else { poll_timer += 13 + ((adj == 3) ? 1 : 0); // 13.33ms otherwise (including latency counts) */ if (adj > 3) adj = 3;