summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/ddragon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ddragon.cpp')
-rw-r--r--src/mame/drivers/ddragon.cpp15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/mame/drivers/ddragon.cpp b/src/mame/drivers/ddragon.cpp
index 37c11373147..a96786496d2 100644
--- a/src/mame/drivers/ddragon.cpp
+++ b/src/mame/drivers/ddragon.cpp
@@ -735,6 +735,19 @@ INPUT_PORTS_END
static INPUT_PORTS_START( ddungeon )
PORT_INCLUDE(ddragon)
+ // Dangerous Dungeons installation guide recommends 4-way joystick "for maximum profits"
+ PORT_MODIFY("P1")
+ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
+ PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
+ PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
+ PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
+
+ PORT_MODIFY("P2")
+ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_PLAYER(2)
+ PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_PLAYER(2)
+ PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_PLAYER(2)
+ PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_PLAYER(2)
+
PORT_MODIFY("DSW0")
PORT_DIPNAME( 0x0f, 0x00, DEF_STR( Coin_A ) )
PORT_DIPSETTING( 0x03, DEF_STR( 4C_1C ) )
@@ -819,7 +832,7 @@ INPUT_PORTS_END
static INPUT_PORTS_START( toffy )
- PORT_INCLUDE(ddragon)
+ PORT_INCLUDE(ddungeon)
PORT_MODIFY("DSW0")
PORT_DIPNAME( 0x0f, 0x00, DEF_STR( Coin_A ) )