diff options
author | Vas Crabb <vas@vastheman.com> | 2016-08-25 03:05:41 +1000 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2016-08-25 03:05:55 +1000 |
commit | 5d40f2c9d8c20c8726251587c0f5e9636ff74c6f (patch) | |
tree | 5ecb34c3612c3f735a38a3cdd898e8fdfc6171cb /src/mame/drivers/mstation.cpp | |
parent | 232a96c60b1141e6d34fe2514ba9538bba0f0589 (diff) |
remove legacy forms of (required|optional)_(shared_ptr|ioport)_array
Diffstat (limited to 'src/mame/drivers/mstation.cpp')
-rw-r--r-- | src/mame/drivers/mstation.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/mame/drivers/mstation.cpp b/src/mame/drivers/mstation.cpp index b7c1ac7af09..9adf896ade6 100644 --- a/src/mame/drivers/mstation.cpp +++ b/src/mame/drivers/mstation.cpp @@ -38,14 +38,15 @@ class mstation_state : public driver_device { public: mstation_state(const machine_config &mconfig, device_type type, const char *tag) - : driver_device(mconfig, type, tag), - m_maincpu(*this, "maincpu"), - m_ram(*this, RAM_TAG), - m_bankdev1(*this, "bank0"), - m_bankdev2(*this, "bank1"), - m_keyboard(*this, "LINE"), - m_nvram(*this, "nvram") - { } + : driver_device(mconfig, type, tag) + , m_maincpu(*this, "maincpu") + , m_ram(*this, RAM_TAG) + , m_bankdev1(*this, "bank0") + , m_bankdev2(*this, "bank1") + , m_keyboard(*this, "LINE.%u", 0) + , m_nvram(*this, "nvram") + { + } required_device<cpu_device> m_maincpu; required_device<ram_device> m_ram; |