summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/diexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/diexec.c')
-rw-r--r--src/emu/diexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/diexec.c b/src/emu/diexec.c
index db5724c4e0f..c8367e55ff5 100644
--- a/src/emu/diexec.c
+++ b/src/emu/diexec.c
@@ -482,7 +482,7 @@ attotime device_execute_interface::local_time() const
{
assert(m_cycles_running >= *m_icount);
int cycles = m_cycles_running - *m_icount;
- result = attotime_add(result, m_device.clocks_to_attotime(cycles));
+ result = attotime_add(result, m_device.clocks_to_attotime(cycles_to_clocks(cycles)));
}
return result;
}