summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/sega/model2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/sega/model2.cpp')
-rw-r--r--src/mame/sega/model2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/sega/model2.cpp b/src/mame/sega/model2.cpp
index cb73047f97e..4c9daac0853 100644
--- a/src/mame/sega/model2.cpp
+++ b/src/mame/sega/model2.cpp
@@ -114,7 +114,7 @@ u32 model2_state::timers_r(offs_t offset)
if (m_timerrun[offset])
{
// get elapsed time, convert to units of 25 MHz
- u32 cur = (m_timers[offset]->time_elapsed() * 25000000).as_double();
+ u32 cur = (m_timers[offset]->elapsed() * 25000000).as_double();
// subtract units from starting value
m_timervals[offset] = m_timerorig[offset] - cur;