summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author mooglyguy <therealmogminer@gmail.com>2018-12-19 19:29:04 +0100
committer mooglyguy <therealmogminer@gmail.com>2018-12-19 19:29:17 +0100
commit909996f2c9480b54b778257be387b1ccd65f5517 (patch)
tree73e3d78432dcf14ee7c916e4b5fe84a9999e65d0
parent5de211f552220f3ecbf2d0c63724a925b94a22a7 (diff)
Fix recent regressions, nw
-rw-r--r--src/mame/drivers/cave.cpp3
-rw-r--r--src/mame/drivers/flstory.cpp9
2 files changed, 11 insertions, 1 deletions
diff --git a/src/mame/drivers/cave.cpp b/src/mame/drivers/cave.cpp
index 7d564233867..cd04adfe2fe 100644
--- a/src/mame/drivers/cave.cpp
+++ b/src/mame/drivers/cave.cpp
@@ -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);
diff --git a/src/mame/drivers/flstory.cpp b/src/mame/drivers/flstory.cpp
index 787bd0e63b6..3f7662d7f06 100644
--- a/src/mame/drivers/flstory.cpp
+++ b/src/mame/drivers/flstory.cpp
@@ -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)
}