diff options
Diffstat (limited to 'src/hbmame/includes/galaga.h')
-rw-r--r-- | src/hbmame/includes/galaga.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/hbmame/includes/galaga.h b/src/hbmame/includes/galaga.h new file mode 100644 index 00000000000..c6299de111d --- /dev/null +++ b/src/hbmame/includes/galaga.h @@ -0,0 +1,23 @@ +// license:BSD-3-Clause +// copyright-holders:Robbbert +#include "../mame/includes/galaga.h" +#include "sound/samples.h" +#include "machine/namco06.h" + +class galaga_hbmame : public galaga_state +{ +public: + galaga_hbmame(const machine_config &mconfig, device_type type, const char *tag) + : galaga_state(mconfig, type, tag) + , m_samples(*this, "samples") + , m_06xx(*this, "06xx") + { } + + DECLARE_WRITE8_MEMBER(galaga_sample_w); + void galagost(machine_config &config); + void galagost_map(address_map &map); + +private: + optional_device<samples_device> m_samples; + optional_device<namco_06xx_device> m_06xx; +}; |