summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/s7.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/s7.cpp')
-rw-r--r--src/mame/drivers/s7.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/s7.cpp b/src/mame/drivers/s7.cpp
index 9f987107892..5edb8ef0f8d 100644
--- a/src/mame/drivers/s7.cpp
+++ b/src/mame/drivers/s7.cpp
@@ -417,7 +417,7 @@ void s7_state::machine_start()
m_digits.resolve();
m_memprotect = 0;
save_item(NAME(m_nvram));
- machine().device<nvram_device>("nvram")->set_base(m_nvram, sizeof(m_nvram));
+ subdevice<nvram_device>("nvram")->set_base(m_nvram, sizeof(m_nvram));
}
MACHINE_RESET_MEMBER( s7_state, s7 )