summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/pc1500.cpp
diff options
context:
space:
mode:
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
commit5d40f2c9d8c20c8726251587c0f5e9636ff74c6f (patch)
tree5ecb34c3612c3f735a38a3cdd898e8fdfc6171cb /src/mame/drivers/pc1500.cpp
parent232a96c60b1141e6d34fe2514ba9538bba0f0589 (diff)
remove legacy forms of (required|optional)_(shared_ptr|ioport)_array
Diffstat (limited to 'src/mame/drivers/pc1500.cpp')
-rw-r--r--src/mame/drivers/pc1500.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/mame/drivers/pc1500.cpp b/src/mame/drivers/pc1500.cpp
index 930b83a0be6..6d55dca0ede 100644
--- a/src/mame/drivers/pc1500.cpp
+++ b/src/mame/drivers/pc1500.cpp
@@ -23,12 +23,14 @@ class pc1500_state : public driver_device
{
public:
pc1500_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
- m_maincpu(*this, "maincpu"),
- m_rtc(*this, "upd1990a"),
- m_lcd_data(*this, "lcd_data"),
- m_keyboard(*this, "KEY"),
- m_io_on(*this, "ON") { }
+ : driver_device(mconfig, type, tag)
+ , m_maincpu(*this, "maincpu")
+ , m_rtc(*this, "upd1990a")
+ , m_lcd_data(*this, "lcd_data")
+ , m_keyboard(*this, "KEY,%u", 0)
+ , m_io_on(*this, "ON")
+ {
+ }
required_device<cpu_device> m_maincpu;
required_device<upd1990a_device> m_rtc;