diff options
Diffstat (limited to 'src/mame/drivers/triplhnt.cpp')
-rw-r--r-- | src/mame/drivers/triplhnt.cpp | 2 |
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)); } |