diff options
Diffstat (limited to 'src/mame/includes/taito_z.h')
-rw-r--r-- | src/mame/includes/taito_z.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mame/includes/taito_z.h b/src/mame/includes/taito_z.h index 180641613f9..2512dde3c96 100644 --- a/src/mame/includes/taito_z.h +++ b/src/mame/includes/taito_z.h @@ -10,6 +10,7 @@ #include "audio/taitosnd.h" #include "machine/eepromser.h" #include "machine/taitoio.h" +#include "sound/flt_vol.h" #include "video/tc0100scn.h" #include "video/tc0110pcr.h" #include "video/tc0150rod.h" @@ -35,6 +36,7 @@ public: m_tc0510nio(*this, "tc0510nio"), m_tc0140syt(*this, "tc0140syt"), m_gfxdecode(*this, "gfxdecode"), + m_filter(*this, {"2610.1.r", "2610.1.l", "2610.2.r", "2610.2.l"}), m_steer(*this, "STEER"), m_lamp(*this, "lamp%u", 0U) { } @@ -57,7 +59,6 @@ public: void init_bshark(); protected: - virtual void machine_start() override { m_lamp.resolve(); } virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override; private: @@ -93,6 +94,7 @@ private: optional_device<tc0510nio_device> m_tc0510nio; optional_device<tc0140syt_device> m_tc0140syt; // bshark & spacegun miss the CPUs which shall use TC0140 required_device<gfxdecode_device> m_gfxdecode; + optional_device_array<filter_volume_device, 4> m_filter; optional_ioport m_steer; output_finder<2> m_lamp; @@ -122,6 +124,7 @@ private: DECLARE_MACHINE_RESET(taitoz); DECLARE_VIDEO_START(taitoz); DECLARE_MACHINE_START(bshark); + DECLARE_MACHINE_START(chasehq); uint32_t screen_update_contcirc(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); uint32_t screen_update_chasehq(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); uint32_t screen_update_bshark(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); |