Previous 199869 Revisions Next

r26065 Saturday 9th November, 2013 at 12:57:54 UTC by smf
Fix D9060 format. Reads greater than one sector were broken when using bit banging. [smf]
[src/emu/machine]scsihle.c

trunk/src/emu/machine/scsihle.c
r26064r26065
372372            {
373373               // check to see if we have reached the end of the block buffer
374374               // 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)
376376               {
377377                  scsibus_read_data();
378                  scsi_out_req_delay( 1 );
378379               }
379
380               if(data_idx == data_last && bytes_left == 0)
380               else if(data_idx == data_last && bytes_left == 0)
381381               {
382382                  scsi_change_phase(SCSI_PHASE_STATUS);
383383               }

Previous 199869 Revisions Next


© 1997-2024 The MAME Team