summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/iwm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/iwm.cpp')
-rw-r--r--src/devices/machine/iwm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/iwm.cpp b/src/devices/machine/iwm.cpp
index 88aed1cda7a..312d381717d 100644
--- a/src/devices/machine/iwm.cpp
+++ b/src/devices/machine/iwm.cpp
@@ -465,7 +465,7 @@ void iwm_device::sync()
case SW_WINDOW_LOAD:
if(m_whd & 0x80) {
logerror("underrun\n");
- flush_write();
+ flush_write(next_sync);
m_flux_write_start = 0;
m_whd &= ~0x40;
m_last_sync = next_sync;
@@ -490,7 +490,7 @@ void iwm_device::sync()
case SW_WINDOW_END:
if(m_flux_write_count == m_flux_write.size())
- flush_write();
+ flush_write(next_sync);
if(m_mode & 0x02) {
m_rw_bit_count --;
if(m_rw_bit_count == 0) {