summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/triplhnt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/triplhnt.cpp')
-rw-r--r--src/mame/drivers/triplhnt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/triplhnt.cpp b/src/mame/drivers/triplhnt.cpp
index 8ef6c856027..8303799a973 100644
--- a/src/mame/drivers/triplhnt.cpp
+++ b/src/mame/drivers/triplhnt.cpp
@@ -18,7 +18,7 @@ Atari Triple Hunt Driver
void triplhnt_state::init_triplhnt()
{
- machine().device<nvram_device>("nvram")->set_base(m_cmos, sizeof(m_cmos));
+ subdevice<nvram_device>("nvram")->set_base(m_cmos, sizeof(m_cmos));
}