mirror of
https://github.com/holub/mame
synced 2025-04-24 17:30:55 +03:00
cxd1185: faster (nw)
* don't always delay for the whole selection timeout
This commit is contained in:
parent
c6bf068434
commit
c7d2ed4337
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user