diff options
author | smf- <smf-@users.noreply.github.com> | 2016-12-02 10:39:36 +0000 |
---|---|---|
committer | smf- <smf-@users.noreply.github.com> | 2016-12-02 10:39:36 +0000 |
commit | 9a3fc65797ad14c53ab617ada720a457ebcfcb6b (patch) | |
tree | 31c26d639a203a6bdef5ecf93f8d5c2b7528e119 | |
parent | 28978a4357b00c0b30a4fed3b2d9e69a4c8904ba (diff) |
Fix for ATA Write Multiple (command c5) ignoring the block count on the first block. [smf]
-rw-r--r-- | src/devices/machine/idehd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/idehd.cpp b/src/devices/machine/idehd.cpp index 35e90f6193f..59ca41e1e4c 100644 --- a/src/devices/machine/idehd.cpp +++ b/src/devices/machine/idehd.cpp @@ -678,7 +678,7 @@ void ata_mass_storage_device::process_command() (m_cylinder_high << 8) | m_cylinder_low, m_device_head & IDE_DEVICE_HEAD_HS, m_sector_number, lba_address(), m_sector_count)); /* reset the buffer */ - m_sectors_until_int = 1; + m_sectors_until_int = m_block_count; /* mark the buffer ready */ m_status |= IDE_STATUS_DRQ; |