summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/cxd1185.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/cxd1185.cpp')
-rw-r--r--src/devices/machine/cxd1185.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/devices/machine/cxd1185.cpp b/src/devices/machine/cxd1185.cpp
index 03510efd5b5..369053aa69d 100644
--- a/src/devices/machine/cxd1185.cpp
+++ b/src/devices/machine/cxd1185.cpp
@@ -768,8 +768,14 @@ void cxd1185_device::scsi_ctrl_changed()
}
else if ((m_status & (TARG | INIT)) == INIT)
{
+ if ((ctrl & S_SEL) && !(m_scsi_ctrl_state & S_BSY) && (ctrl & S_BSY))
+ {
+ LOGMASKED(LOG_SCSI, "target selected\n");
- if ((m_scsi_ctrl_state & S_BSY) && !(ctrl & S_BSY))
+ // truncate selection delay
+ m_state_timer->adjust(attotime::zero);
+ }
+ else if ((m_scsi_ctrl_state & S_BSY) && !(ctrl & S_BSY))
{
LOGMASKED(LOG_SCSI, "target disconnected\n");