diff options
Diffstat (limited to 'src/mame/drivers/cat.cpp')
-rw-r--r-- | src/mame/drivers/cat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/cat.cpp b/src/mame/drivers/cat.cpp index 8d08487ffb4..091706291f5 100644 --- a/src/mame/drivers/cat.cpp +++ b/src/mame/drivers/cat.cpp @@ -931,7 +931,7 @@ MACHINE_START_MEMBER(cat_state,cat) m_video_enable = 1; m_video_invert = 0; m_6ms_timer = timer_alloc(TIMER_COUNTER_6MS); - machine().device<nvram_device>("nvram")->set_base(m_svram, 0x4000); + subdevice<nvram_device>("nvram")->set_base(m_svram, 0x4000); } MACHINE_RESET_MEMBER(cat_state,cat) |