summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/ti85.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/ti85.cpp')
-rw-r--r--src/mame/machine/ti85.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/ti85.cpp b/src/mame/machine/ti85.cpp
index bb7bdb18136..316ce8313c1 100644
--- a/src/mame/machine/ti85.cpp
+++ b/src/mame/machine/ti85.cpp
@@ -470,7 +470,7 @@ MACHINE_START_MEMBER(ti85_state,ti86)
membank("bank2")->set_base(m_bios + 0x04000);
membank("bank4")->set_base(m_ti8x_ram.get());
- machine().device<nvram_device>("nvram")->set_base(m_ti8x_ram.get(), sizeof(uint8_t)*128*1024);
+ subdevice<nvram_device>("nvram")->set_base(m_ti8x_ram.get(), sizeof(uint8_t)*128*1024);
m_ti85_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(ti85_state::ti85_timer_callback), this));
m_ti85_timer->adjust(attotime::from_hz(256), 0, attotime::from_hz(256));