Fix D9060 format. Reads greater than one sector were broken when using bit banging. [smf]

This commit is contained in:
smf- 2013-11-09 12:57:54 +00:00
parent f4d936300d
commit 08e2a2ba35

View File

@ -372,12 +372,12 @@ void scsihle_device::scsi_in( UINT32 data, UINT32 mask )
{
// check to see if we have reached the end of the block buffer
// and that there is more data to read from the scsi disk
if(data_idx == m_sector_bytes)
if(data_idx == m_sector_bytes && bytes_left > 0)
{
scsibus_read_data();
scsi_out_req_delay( 1 );
}
if(data_idx == data_last && bytes_left == 0)
else if(data_idx == data_last && bytes_left == 0)
{
scsi_change_phase(SCSI_PHASE_STATUS);
}