diff options
Diffstat (limited to 'src/mame/drivers/jrpacman.c')
-rw-r--r-- | src/mame/drivers/jrpacman.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mame/drivers/jrpacman.c b/src/mame/drivers/jrpacman.c index 2093540179c..3987e0d8a30 100644 --- a/src/mame/drivers/jrpacman.c +++ b/src/mame/drivers/jrpacman.c @@ -199,25 +199,25 @@ static INPUT_PORTS_START( jrpacman ) PORT_DIPSETTING( 0x00, DEF_STR( Cocktail ) ) PORT_START("DSW") - PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW1:1,2") + PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW1:1,2") PORT_DIPSETTING( 0x03, DEF_STR( 2C_1C ) ) PORT_DIPSETTING( 0x01, DEF_STR( 1C_1C ) ) PORT_DIPSETTING( 0x02, DEF_STR( 1C_2C ) ) PORT_DIPSETTING( 0x00, DEF_STR( Free_Play ) ) - PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:3,4") + PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:3,4") PORT_DIPSETTING( 0x00, "1" ) PORT_DIPSETTING( 0x04, "2" ) PORT_DIPSETTING( 0x08, "3" ) PORT_DIPSETTING( 0x0c, "5" ) - PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW1:5,6") + PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW1:5,6") PORT_DIPSETTING( 0x00, "10000" ) PORT_DIPSETTING( 0x10, "15000" ) PORT_DIPSETTING( 0x20, "20000" ) PORT_DIPSETTING( 0x30, "30000" ) - PORT_DIPNAME( 0x40, 0x40, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW1:7") + PORT_DIPNAME( 0x40, 0x40, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW1:7") PORT_DIPSETTING( 0x40, DEF_STR( Normal ) ) PORT_DIPSETTING( 0x00, DEF_STR( Hard ) ) - PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:8") + PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:8") PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) INPUT_PORTS_END @@ -269,8 +269,8 @@ GFXDECODE_END static const namco_interface namco_config = { - 3, /* number of voices */ - 0 /* stereo */ + 3, /* number of voices */ + 0 /* stereo */ }; @@ -291,7 +291,7 @@ INTERRUPT_GEN_MEMBER(jrpacman_state::vblank_irq) static MACHINE_CONFIG_START( jrpacman, jrpacman_state ) /* basic machine hardware */ - MCFG_CPU_ADD("maincpu", Z80, 18432000/6) /* 3.072 MHz */ + MCFG_CPU_ADD("maincpu", Z80, 18432000/6) /* 3.072 MHz */ MCFG_CPU_PROGRAM_MAP(main_map) MCFG_CPU_IO_MAP(port_map) MCFG_CPU_VBLANK_INT_DRIVER("screen", jrpacman_state, vblank_irq) @@ -388,8 +388,8 @@ DRIVER_INIT_MEMBER(jrpacman_state,jrpacman) /* Decryption table provided by David Caldwell (david@indigita.com) */ /* For an accurate reproduction of the encryption, see jrcrypt.c */ static const struct { - int count; - int value; + int count; + int value; } table[] = { { 0x00C1, 0x00 },{ 0x0002, 0x80 },{ 0x0004, 0x00 },{ 0x0006, 0x80 }, @@ -412,7 +412,7 @@ DRIVER_INIT_MEMBER(jrpacman_state,jrpacman) { 0x0001, 0x01 },{ 0x0001, 0x04 },{ 0x0001, 0x05 },{ 0x0001, 0x00 }, { 0x01B0, 0x01 },{ 0x0001, 0x00 },{ 0x0002, 0x01 },{ 0x00AD, 0x00 }, { 0x0031, 0x01 },{ 0x005C, 0x00 },{ 0x0005, 0x01 },{ 0x604E, 0x00 }, - { 0,0 } + { 0,0 } }; UINT8 *RAM = machine().root_device().memregion("maincpu")->base(); |