summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author David Haywood <mamehaze@users.noreply.github.com>2015-10-28 00:15:27 +0000
committer David Haywood <mamehaze@users.noreply.github.com>2015-10-28 00:15:27 +0000
commit84eab928df5bccc7a5398d74c9d99140669eb439 (patch)
tree18b12594acc4d36deaf5c8a7a21e5b7a75a4ac77
parent23ca12d712f60dee406510f87d2d1e847e0a619e (diff)
parentcc8b7c6f11ac5df293d4fa7c119344481776eb13 (diff)
Merge branch 'master' of https://github.com/mamedev/mame
-rw-r--r--src/devices/machine/atahle.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/devices/machine/atahle.c b/src/devices/machine/atahle.c
index 850ab39d34f..4bab8c790f5 100644
--- a/src/devices/machine/atahle.c
+++ b/src/devices/machine/atahle.c
@@ -470,8 +470,12 @@ void ata_hle_device::read_buffer_empty()
if ((multi_word_dma_mode() >= 0) || (ultra_dma_mode() >= 0))
set_dmarq(CLEAR_LINE);
- m_buffer_empty_timer->enable(true);
- m_buffer_empty_timer->adjust(attotime::zero);
+ if (ultra_dma_mode() >= 0) {
+ m_buffer_empty_timer->enable(true);
+ m_buffer_empty_timer->adjust(attotime::zero);
+ }
+ else
+ fill_buffer();
}
void ata_hle_device::write_buffer_full()