summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/atlantis.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/atlantis.cpp')
-rw-r--r--src/mame/drivers/atlantis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/atlantis.cpp b/src/mame/drivers/atlantis.cpp
index dff8501d8e8..0fb54abbdfa 100644
--- a/src/mame/drivers/atlantis.cpp
+++ b/src/mame/drivers/atlantis.cpp
@@ -342,7 +342,7 @@ READ8_MEMBER(atlantis_state::cmos_r)
uint8_t result = m_rtc->read(space, offset);
// Initial RTC check expects reads to the RTC to take some time
if (offset == 0x7ff9)
- machine().device<cpu_device>("maincpu")->eat_cycles(30);
+ m_maincpu->eat_cycles(30);
if (LOG_RTC || ((offset >= 0x7ff0) && (offset != 0x7ff9)))
logerror("%s:RTC read from offset %04X = %08X\n", machine().describe_context(), offset, result);
return result;