summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/4enraya.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/4enraya.c')
-rw-r--r--src/mame/drivers/4enraya.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/mame/drivers/4enraya.c b/src/mame/drivers/4enraya.c
index 6e4cf402fcf..91ec5719402 100644
--- a/src/mame/drivers/4enraya.c
+++ b/src/mame/drivers/4enraya.c
@@ -227,35 +227,35 @@ static INPUT_PORTS_START( pucky ) // guess
PORT_DIPNAME( 0x01, 0x00, "0-0")
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
PORT_DIPSETTING( 0x01, DEF_STR( On ) )
-
+
PORT_DIPNAME( 0x02, 0x00, "0-1")
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
PORT_DIPSETTING( 0x02, DEF_STR( On ) )
-
+
PORT_DIPNAME( 0x04, 0x00, "0-2")
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
PORT_DIPSETTING( 0x04, DEF_STR( On ) )
-
+
PORT_DIPNAME( 0x08, 0x00, "0-3")
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
PORT_DIPSETTING( 0x08, DEF_STR( On ) )
-
+
PORT_DIPNAME( 0x10, 0x00, "0-4")
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
PORT_DIPSETTING( 0x10, DEF_STR( On ) )
-
+
PORT_DIPNAME( 0x20, 0x00, "0-5")
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
PORT_DIPSETTING( 0x20, DEF_STR( On ) )
-
+
PORT_DIPNAME( 0x40, 0x00, "0-6")
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
PORT_DIPSETTING( 0x40, DEF_STR( On ) )
-
+
PORT_DIPNAME( 0x80, 0x00, "0-7")
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
PORT_DIPSETTING( 0x80, DEF_STR( On ) )
-
+
PORT_START("IN1")
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 )
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_COIN2 )
@@ -264,13 +264,13 @@ static INPUT_PORTS_START( pucky ) // guess
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_COIN5 )
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_COIN6 )
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_COIN7 )
-
+
PORT_DIPNAME( 0x80, 0x80, "DIP8")
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
PORT_DIPSETTING( 0x80, DEF_STR( On ) )
-
-
+
+
PORT_START("IN2")
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 )
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT )
@@ -280,7 +280,7 @@ static INPUT_PORTS_START( pucky ) // guess
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN )
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON3 )
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON4 )
-
+
INPUT_PORTS_END
static const gfx_layout charlayout =
@@ -389,7 +389,7 @@ ROM_START(pucky)
ROM_REGION(0x10000, "maincpu", 0)
ROM_LOAD("1.u14", 0x00000, 0x2000, CRC(848c4143) SHA1(3cff26181c58e5f52f1ac81df7d5d43e644585a2))
ROM_LOAD("2.u46", 0x08000, 0x2000, CRC(9e6e0bd3) SHA1(f502132a0460108dad243632cc13d9116c534291))
-
+
ROM_REGION( 0x6000, "gfx1", 0 )
ROM_LOAD( "3.u20", 0x2000, 0x2000, CRC(d00b04ea) SHA1(e65901d8586507257d74ab103001207e28fa28af) )
ROM_LOAD( "4.u19", 0x4000, 0x2000, CRC(4a123a3d) SHA1(26300b8af0d0df0023a153a212699727311d1b74) )
@@ -400,9 +400,9 @@ static DRIVER_INIT( pucky )
{
_4enraya_state *state = machine.driver_data<_4enraya_state>();
UINT8 *rom = machine.region("maincpu")->base();
-
+
state->m_snd_latch_bit = 2;
-
+
{
for(int i=0x8000;i<0xa000;++i)
{