mirror of
https://github.com/holub/mame
synced 2025-05-22 05:38:52 +03:00
From: Fabio Priuli [doge.fabio@gmail.com]
Sent: Thursday, January 22, 2009 10:31 AM To: submit Subject: fix for MT 2792 Enclosed please find a small patch which fix the neogeo COMM dips according to the manual scan present in the bug report (splitting sw 4,5,6 in two separate dips entry) Regards, Fabio
This commit is contained in:
parent
c9ffa9bcc5
commit
8772edaab2
@ -76,12 +76,14 @@ static INPUT_PORTS_START( mjneogeo )
|
|||||||
PORT_DIPNAME( 0x0004, 0x0000, "Mahjong Control Panel" ) PORT_DIPLOCATION("SW:3")
|
PORT_DIPNAME( 0x0004, 0x0000, "Mahjong Control Panel" ) PORT_DIPLOCATION("SW:3")
|
||||||
PORT_DIPSETTING( 0x0004, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x0004, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
|
||||||
PORT_DIPNAME( 0x0038, 0x0038, "COMM Setting" ) PORT_DIPLOCATION("SW:4,5,6")
|
PORT_DIPNAME( 0x0018, 0x0018, "COMM Setting (Cabinet No.)" ) PORT_DIPLOCATION("SW:4,5")
|
||||||
PORT_DIPSETTING( 0x0038, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x0018, "1" )
|
||||||
PORT_DIPSETTING( 0x0030, "1" )
|
PORT_DIPSETTING( 0x0008, "2" )
|
||||||
PORT_DIPSETTING( 0x0020, "2" )
|
|
||||||
PORT_DIPSETTING( 0x0010, "3" )
|
PORT_DIPSETTING( 0x0010, "3" )
|
||||||
PORT_DIPSETTING( 0x0000, "4" )
|
PORT_DIPSETTING( 0x0000, "4" )
|
||||||
|
PORT_DIPNAME( 0x0020, 0x0020, "COMM Setting (Link Enable)" ) PORT_DIPLOCATION("SW:6")
|
||||||
|
PORT_DIPSETTING( 0x0020, DEF_STR( Off ) )
|
||||||
|
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
|
||||||
PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Free_Play ) ) PORT_DIPLOCATION("SW:7")
|
PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Free_Play ) ) PORT_DIPLOCATION("SW:7")
|
||||||
PORT_DIPSETTING( 0x0040, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x0040, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
|
||||||
|
@ -1129,12 +1129,14 @@ static const ym2610_interface ym2610_config =
|
|||||||
PORT_DIPNAME( 0x0004, 0x0004, "Autofire (in some games)" ) PORT_DIPLOCATION("SW:3") \
|
PORT_DIPNAME( 0x0004, 0x0004, "Autofire (in some games)" ) PORT_DIPLOCATION("SW:3") \
|
||||||
PORT_DIPSETTING( 0x0004, DEF_STR( Off ) ) \
|
PORT_DIPSETTING( 0x0004, DEF_STR( Off ) ) \
|
||||||
PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) \
|
PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) \
|
||||||
PORT_DIPNAME( 0x0038, 0x0038, "COMM Setting" ) PORT_DIPLOCATION("SW:4,5,6") \
|
PORT_DIPNAME( 0x0018, 0x0018, "COMM Setting (Cabinet No.)" ) PORT_DIPLOCATION("SW:4,5") \
|
||||||
PORT_DIPSETTING( 0x0038, DEF_STR( Off ) ) \
|
PORT_DIPSETTING( 0x0018, "1" ) \
|
||||||
PORT_DIPSETTING( 0x0030, "1" ) \
|
PORT_DIPSETTING( 0x0008, "2" ) \
|
||||||
PORT_DIPSETTING( 0x0020, "2" ) \
|
|
||||||
PORT_DIPSETTING( 0x0010, "3" ) \
|
PORT_DIPSETTING( 0x0010, "3" ) \
|
||||||
PORT_DIPSETTING( 0x0000, "4" ) \
|
PORT_DIPSETTING( 0x0000, "4" ) \
|
||||||
|
PORT_DIPNAME( 0x0020, 0x0020, "COMM Setting (Link Enable)" ) PORT_DIPLOCATION("SW:6") \
|
||||||
|
PORT_DIPSETTING( 0x0020, DEF_STR( Off ) ) \
|
||||||
|
PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) \
|
||||||
PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Free_Play ) ) PORT_DIPLOCATION("SW:7") \
|
PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Free_Play ) ) PORT_DIPLOCATION("SW:7") \
|
||||||
PORT_DIPSETTING( 0x0040, DEF_STR( Off ) ) \
|
PORT_DIPSETTING( 0x0040, DEF_STR( Off ) ) \
|
||||||
PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) \
|
PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) \
|
||||||
|
Loading…
Reference in New Issue
Block a user