summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/tsamurai.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/tsamurai.h')
-rw-r--r--src/mame/includes/tsamurai.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/mame/includes/tsamurai.h b/src/mame/includes/tsamurai.h
index 70f44a0ff12..812663d8d55 100644
--- a/src/mame/includes/tsamurai.h
+++ b/src/mame/includes/tsamurai.h
@@ -21,6 +21,13 @@ public:
m_bg_videoram(*this, "bg_videoram"),
m_spriteram(*this, "spriteram") { }
+ void tsamurai(machine_config &config);
+ void m660(machine_config &config);
+ void vsgongf(machine_config &config);
+
+ void init_the26thz();
+
+private:
// common
DECLARE_WRITE_LINE_MEMBER(nmi_enable_w);
DECLARE_WRITE_LINE_MEMBER(coin1_counter_w);
@@ -65,7 +72,6 @@ public:
DECLARE_VIDEO_START(m660);
DECLARE_VIDEO_START(tsamurai);
DECLARE_VIDEO_START(vsgongf);
- void init_the26thz();
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
uint32_t screen_update_vsgongf(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
@@ -73,9 +79,6 @@ public:
DECLARE_WRITE_LINE_MEMBER(vblank_irq);
INTERRUPT_GEN_MEMBER(vsgongf_sound_interrupt);
- void tsamurai(machine_config &config);
- void m660(machine_config &config);
- void vsgongf(machine_config &config);
void m660_map(address_map &map);
void main_map(address_map &map);
void sound1_m660_map(address_map &map);
@@ -89,11 +92,10 @@ public:
void vsgongf_map(address_map &map);
void z80_io_map(address_map &map);
void z80_m660_io_map(address_map &map);
-protected:
+
virtual void machine_start() override;
virtual void video_start() override;
-private:
required_device<cpu_device> m_maincpu;
required_device<cpu_device> m_audiocpu;
optional_device<cpu_device> m_audio2;