mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +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)
|
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");
|
LOGMASKED(LOG_SCSI, "target disconnected\n");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user