trunk/src/emu/machine/scsihle.c
| r26064 | r26065 | |
| 372 | 372 | { |
| 373 | 373 | // check to see if we have reached the end of the block buffer |
| 374 | 374 | // and that there is more data to read from the scsi disk |
| 375 | | if(data_idx == m_sector_bytes) |
| 375 | if(data_idx == m_sector_bytes && bytes_left > 0) |
| 376 | 376 | { |
| 377 | 377 | scsibus_read_data(); |
| 378 | scsi_out_req_delay( 1 ); |
| 378 | 379 | } |
| 379 | | |
| 380 | | if(data_idx == data_last && bytes_left == 0) |
| 380 | else if(data_idx == data_last && bytes_left == 0) |
| 381 | 381 | { |
| 382 | 382 | scsi_change_phase(SCSI_PHASE_STATUS); |
| 383 | 383 | } |