summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/thoop2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/thoop2.h')
-rw-r--r--src/mame/includes/thoop2.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/includes/thoop2.h b/src/mame/includes/thoop2.h
index 4cbcec13893..0008120ce7b 100644
--- a/src/mame/includes/thoop2.h
+++ b/src/mame/includes/thoop2.h
@@ -24,6 +24,9 @@ public:
m_shareram(*this, "shareram")
{ }
+ void thoop2(machine_config &config);
+
+private:
DECLARE_WRITE8_MEMBER(OKIM6295_bankswitch_w);
DECLARE_WRITE_LINE_MEMBER(coin1_lockout_w);
DECLARE_WRITE_LINE_MEMBER(coin2_lockout_w);
@@ -38,18 +41,16 @@ public:
TILE_GET_INFO_MEMBER(get_tile_info_screen1);
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- void thoop2(machine_config &config);
void mcu_hostmem_map(address_map &map);
void oki_map(address_map &map);
void thoop2_map(address_map &map);
-protected:
+
virtual void machine_start() override;
virtual void video_start() override;
void sort_sprites();
void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, int pri);
-private:
int m_sprite_count[5];
std::unique_ptr<int[]> m_sprite_table[5];
tilemap_t *m_pant[2];