diff options
-rw-r--r-- | src/mame/includes/amiga.h | 2 | ||||
-rw-r--r-- | src/mame/includes/mac.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/includes/amiga.h b/src/mame/includes/amiga.h index c5f88a08c75..fed46133824 100644 --- a/src/mame/includes/amiga.h +++ b/src/mame/includes/amiga.h @@ -347,7 +347,7 @@ public: m_potgo_port(*this, "potgo"), m_pot0dat_port(*this, "POT0DAT"), m_pot1dat_port(*this, "POT1DAT"), - m_joy_ports(*this, {"p1_joy", "p2_joy"}), + m_joy_ports(*this, "p%u_joy", 1), m_p1_mouse_x(*this, "p1_mouse_x"), m_p1_mouse_y(*this, "p1_mouse_y"), m_p2_mouse_x(*this, "p2_mouse_x"), diff --git a/src/mame/includes/mac.h b/src/mame/includes/mac.h index dbbc3becfa2..e30e2639a3c 100644 --- a/src/mame/includes/mac.h +++ b/src/mame/includes/mac.h @@ -208,7 +208,7 @@ public: m_mouse0(*this, "MOUSE0"), m_mouse1(*this, "MOUSE1"), m_mouse2(*this, "MOUSE2"), - m_keys(*this, {"KEY0", "KEY1", "KEY2", "KEY3", "KEY4", "KEY5", "KEY6"}), + m_keys(*this, "KEY%u", 0), m_montype(*this, "MONTYPE"), m_vram(*this,"vram"), m_vram16(*this,"vram16"), |