summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2021-03-05 20:21:48 +0100
committer Olivier Galibert <galibert@pobox.com>2021-03-05 20:22:23 +0100
commit8a689a01aa381618bd330d3c248325d99c23774a (patch)
treefd0a10d241e194e594a8021d01a4a2a429895161 /src/devices
parent9a79ec0a50cf1827228b741cea445f5f795a6969 (diff)
swim1: fix iwm clocking
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/machine/swim1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/swim1.cpp b/src/devices/machine/swim1.cpp
index f5f82d27566..75c3b12b186 100644
--- a/src/devices/machine/swim1.cpp
+++ b/src/devices/machine/swim1.cpp
@@ -662,7 +662,7 @@ void swim1_device::iwm_sync()
if(!m_iwm_active)
return;
- u64 next_sync = machine().time().as_ticks(clock());
+ u64 next_sync = time_to_cycles(machine().time());
switch(m_iwm_rw) {
case MODE_IDLE:
m_last_sync = next_sync;