From 320c867ea3a7b1e44f5756cd4b57d12f0cf3c305 Mon Sep 17 00:00:00 2001 From: TC1995 Date: Thu, 2 Sep 2021 14:36:35 +0200 Subject: [PATCH] Fix T128 timer initialization on reads for faster cpu's. --- src/scsi/scsi_ncr5380.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scsi/scsi_ncr5380.c b/src/scsi/scsi_ncr5380.c index d22b5fbf5..c48af0ae5 100644 --- a/src/scsi/scsi_ncr5380.c +++ b/src/scsi/scsi_ncr5380.c @@ -692,7 +692,7 @@ ncr_write(uint16_t port, uint8_t val, void *priv) ncr_dev->t128.host_pos = MIN(512, dev->buffer_length); ncr_dev->t128.status |= 0x04; - timer_on_auto(&ncr_dev->timer, 0.2); + timer_on_auto(&ncr_dev->timer, 0.02); } else { if ((ncr->mode & MODE_DMA) && !timer_is_enabled(&ncr_dev->timer)) { memset(ncr_dev->buffer, 0, MIN(128, dev->buffer_length));