summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tomcat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tomcat.cpp')
-rw-r--r--src/mame/drivers/tomcat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/tomcat.cpp b/src/mame/drivers/tomcat.cpp
index a966ceb372a..02df72c2f62 100644
--- a/src/mame/drivers/tomcat.cpp
+++ b/src/mame/drivers/tomcat.cpp
@@ -300,7 +300,7 @@ void tomcat_state::machine_start()
((uint16_t*)m_shared_ram)[0x0002] = 0xf600;
((uint16_t*)m_shared_ram)[0x0003] = 0x0000;
- machine().device<nvram_device>("nvram")->set_base(m_nvram, 0x800);
+ subdevice<nvram_device>("nvram")->set_base(m_nvram, 0x800);
save_item(NAME(m_nvram));
save_item(NAME(m_dsp_BIO));