summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/mazerbla.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mazerbla.cpp')
-rw-r--r--src/mame/drivers/mazerbla.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/mazerbla.cpp b/src/mame/drivers/mazerbla.cpp
index d6d8534491b..a6f75987d5a 100644
--- a/src/mame/drivers/mazerbla.cpp
+++ b/src/mame/drivers/mazerbla.cpp
@@ -1051,12 +1051,13 @@ static INPUT_PORTS_START( mazerbla )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_START("DSW0") /* Strobe 1: Dip Switches 28-35*/
- PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
- PORT_DIPSETTING( 0x03, "6" )
- PORT_DIPSETTING( 0x02, "5" )
- PORT_DIPSETTING( 0x01, "4" )
- PORT_DIPSETTING( 0x00, "3" )
- PORT_DIPNAME( 0x0c, 0x00, "Freeze Time" )
+ // TODO: these are for mazerblaa set, mazerbla differs significantly
+ PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
+ PORT_DIPSETTING( 0x03, "3" )
+ PORT_DIPSETTING( 0x02, "4" )
+ PORT_DIPSETTING( 0x01, "5" )
+ PORT_DIPSETTING( 0x00, "6" )
+ PORT_DIPNAME( 0x0c, 0x0c, "Freeze Time" )
PORT_DIPSETTING( 0x0c, "1.5 seconds" )
PORT_DIPSETTING( 0x08, "2.0 seconds" )
PORT_DIPSETTING( 0x04, "2.5 seconds" )
@@ -1110,9 +1111,7 @@ static INPUT_PORTS_START( mazerbla )
PORT_DIPSETTING( 0x70, "1 Coin/14 Credits" )
PORT_START("DSW2") /* Strobe 3: Dip Switches 12-19*/
- PORT_DIPNAME( 0x01, 0x01, "Service Index" )
- PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x00, DEF_STR( On ) )
+ PORT_SERVICE( 0x01, IP_ACTIVE_LOW ) PORT_NAME("Service Index")
PORT_DIPNAME( 0x02, 0x02, "Switch Test" )
PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
@@ -1475,6 +1474,7 @@ static MACHINE_CONFIG_START( mazerbla )
MCFG_SCREEN_SIZE(40*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 0*8, 28*8-1)
MCFG_SCREEN_UPDATE_DRIVER(mazerbla_state, screen_update_mazerbla)
+ MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(mazerbla_state, screen_vblank))
MCFG_PALETTE_ADD("palette", 256+1)
MCFG_PALETTE_INIT_OWNER(mazerbla_state, mazerbla)