summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/peyper.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/peyper.cpp
parent232a96c60b1141e6d34fe2514ba9538bba0f0589 (diff)
remove legacy forms of (required|optional)_(shared_ptr|ioport)_array
Diffstat (limited to 'src/mame/drivers/peyper.cpp')
-rw-r--r--src/mame/drivers/peyper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/peyper.cpp b/src/mame/drivers/peyper.cpp
index 5d06d1e5b7b..dd21ceabfd9 100644
--- a/src/mame/drivers/peyper.cpp
+++ b/src/mame/drivers/peyper.cpp
@@ -44,7 +44,7 @@ public:
peyper_state(const machine_config &mconfig, device_type type, const char *tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
- , m_switch(*this, "SWITCH")
+ , m_switch(*this, "SWITCH.%u", 0)
{ }
DECLARE_READ8_MEMBER(sw_r);