mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
royalmah.cpp: Eliminate machine().device (nw)
This commit is contained in:
parent
320be30eba
commit
4a602c8888
@ -5223,7 +5223,7 @@ void royalmah_state::init_janptr96()
|
||||
|
||||
m_janptr96_nvram = std::make_unique<uint8_t[]>(0x1000 * 9);
|
||||
membank("bank3")->set_base(m_janptr96_nvram.get());
|
||||
machine().device<nvram_device>("nvram")->set_base(m_janptr96_nvram.get(), 0x1000 * 9);
|
||||
subdevice<nvram_device>("nvram")->set_base(m_janptr96_nvram.get(), 0x1000 * 9);
|
||||
membank("rambank")->configure_entries(0, 8, m_janptr96_nvram.get() + 0x1000, 0x1000);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user