Fix recent regressions, nw

This commit is contained in:
mooglyguy 2018-12-19 19:29:04 +01:00
parent 5de211f552
commit 909996f2c9
2 changed files with 11 additions and 1 deletions

View File

@ -2435,6 +2435,7 @@ void cave_state::ppsatan(machine_config &config)
add_base_config(config);
/* basic machine hardware */
m_maincpu->set_vblank_int("screen", FUNC(cave_state::interrupt_ppsatan));
m_maincpu->set_addrmap(AS_PROGRAM, &cave_state::ppsatan_map);
WATCHDOG_TIMER(config, "watchdog").set_time(attotime::from_seconds(1)); /* a guess, and certainly wrong */
@ -2445,6 +2446,8 @@ void cave_state::ppsatan(machine_config &config)
/* video hardware */
m_screen->set_visarea(0, 320-1, 0, 224-1);
m_screen->set_screen_update(FUNC(cave_state::screen_update_ppsatan_top));
subdevice<timer_device>("int_timer")->configure_generic(FUNC(cave_state::vblank_start));
screen_device &screen_left(SCREEN(config, "screen_left", SCREEN_TYPE_RASTER));
screen_left.set_refresh_hz(15625/271.5);

View File

@ -763,7 +763,7 @@ void flstory_state::common(machine_config &config)
GENERIC_LATCH_8(config, m_soundlatch);
m_soundlatch->data_pending_callback().set("soundnmi", FUNC(input_merger_device::in_w<0>));
INPUT_MERGER_ALL_HIGH(config, "soundnmi").output_handler().set_inputline("audiocpu", INPUT_LINE_NMI);
INPUT_MERGER_ALL_HIGH(config, "soundnmi").output_handler().set_inputline(m_audiocpu, INPUT_LINE_NMI);
GENERIC_LATCH_8(config, m_soundlatch2);
TA7630(config, m_ta7630);
@ -837,6 +837,10 @@ void flstory_state::victnine(machine_config &config)
/* video hardware */
subdevice<screen_device>("screen")->set_screen_update(FUNC(flstory_state::screen_update_victnine));
MCFG_VIDEO_START_OVERRIDE(flstory_state,victnine)
/* sound hardware */
m_ay->reset_routes();
m_ay->add_route(ALL_OUTPUTS, "speaker", 0.5);
}
void flstory_state::rumba(machine_config &config)
@ -849,6 +853,9 @@ void flstory_state::rumba(machine_config &config)
TAITO68705_MCU(config, m_bmcu, XTAL(18'432'000)/6); /* ? */
MCFG_MACHINE_RESET_OVERRIDE(flstory_state,flstory)
/* video hardware */
subdevice<screen_device>("screen")->set_screen_update(FUNC(flstory_state::screen_update_rumba));
MCFG_VIDEO_START_OVERRIDE(flstory_state,rumba)
}