ball doesn't go through the wall anymore

This commit is contained in:
Michaël Banaan Ananas 2011-02-19 19:53:53 +00:00
parent a5f476e301
commit b25bd43e49
2 changed files with 2 additions and 19 deletions

View File

@ -1148,22 +1148,6 @@ MACHINE_CONFIG_END
/* */ /* */
/*******************************************************/ /*******************************************************/
static CUSTOM_INPUT( sflush_80_r )
{
mw8080bw_state *state = field->port->machine->driver_data<mw8080bw_state>();
state->sfl_int ^= 1; /* vblank flag ? */
return state->sfl_int;
}
static MACHINE_START( sflush )
{
mw8080bw_state *state = machine->driver_data<mw8080bw_state>();
state->save_item(NAME(state->sfl_int));
MACHINE_START_CALL(mw8080bw);
}
static ADDRESS_MAP_START( sflush_map, ADDRESS_SPACE_PROGRAM, 8 ) static ADDRESS_MAP_START( sflush_map, ADDRESS_SPACE_PROGRAM, 8 )
AM_RANGE(0x0000, 0x1fff) AM_RAM AM_RANGE(0x0000, 0x1fff) AM_RAM
AM_RANGE(0x4000, 0x5fff) AM_RAM AM_BASE_SIZE_MEMBER(mw8080bw_state, main_ram, main_ram_size) AM_RANGE(0x4000, 0x5fff) AM_RAM AM_BASE_SIZE_MEMBER(mw8080bw_state, main_ram, main_ram_size)
@ -1203,7 +1187,7 @@ static INPUT_PORTS_START( sflush )
PORT_DIPNAME( 0x40, 0x00, "Coinage Display" ) PORT_DIPNAME( 0x40, 0x00, "Coinage Display" )
PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
PORT_DIPSETTING( 0x40, DEF_STR( On ) ) PORT_DIPSETTING( 0x40, DEF_STR( On ) )
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(sflush_80_r, NULL) /* vblank? */ PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK ) // ?
PORT_START("PADDLE") PORT_START("PADDLE")
PORT_BIT( 0xff, 0x6a, IPT_PADDLE ) PORT_MINMAX(0x16,0xbf) PORT_SENSITIVITY(30) PORT_KEYDELTA(30) PORT_CENTERDELTA(0) PORT_BIT( 0xff, 0x6a, IPT_PADDLE ) PORT_MINMAX(0x16,0xbf) PORT_SENSITIVITY(30) PORT_KEYDELTA(30) PORT_CENTERDELTA(0)
@ -1216,7 +1200,7 @@ static MACHINE_CONFIG_DERIVED( sflush, mw8080bw_root )
MCFG_CPU_REPLACE("maincpu",M6800,2000000) /* ?? */ MCFG_CPU_REPLACE("maincpu",M6800,2000000) /* ?? */
MCFG_CPU_PROGRAM_MAP(sflush_map) MCFG_CPU_PROGRAM_MAP(sflush_map)
MCFG_CPU_VBLANK_INT_HACK(irq0_line_pulse,2) MCFG_CPU_VBLANK_INT_HACK(irq0_line_pulse,2)
MCFG_MACHINE_START(sflush) MCFG_MACHINE_START(mw8080bw)
/* add shifter */ /* add shifter */
MCFG_MB14241_ADD("mb14241") MCFG_MB14241_ADD("mb14241")

View File

@ -55,7 +55,6 @@ public:
int schaser_effect_555_is_low; int schaser_effect_555_is_low;
int schaser_explosion; int schaser_explosion;
int schaser_last_effect; int schaser_last_effect;
UINT8 sfl_int;
UINT8 polaris_cloud_speed; UINT8 polaris_cloud_speed;
UINT8 polaris_cloud_pos; UINT8 polaris_cloud_pos;
UINT8 schaser_background_disable; UINT8 schaser_background_disable;