diff options
Diffstat (limited to 'src/mame/includes/cheekyms.h')
-rw-r--r-- | src/mame/includes/cheekyms.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/mame/includes/cheekyms.h b/src/mame/includes/cheekyms.h index c4655c01398..7ab54184d3e 100644 --- a/src/mame/includes/cheekyms.h +++ b/src/mame/includes/cheekyms.h @@ -31,10 +31,18 @@ public: { } + DECLARE_INPUT_CHANGED_MEMBER(coin_inserted); + + void cheekyms(machine_config &config); + +protected: + virtual void machine_start() override; + virtual void video_start() override; + +private: DECLARE_WRITE8_MEMBER(port_40_w); DECLARE_WRITE8_MEMBER(port_80_w); - DECLARE_INPUT_CHANGED_MEMBER(coin_inserted); INTERRUPT_GEN_MEMBER(vblank_irq); TILE_GET_INFO_MEMBER(get_tile_info); @@ -42,17 +50,11 @@ public: DECLARE_PALETTE_INIT(cheekyms); uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, gfx_element *gfx, int flip); - void cheekyms(machine_config &config); void io_map(address_map &map); void main_map(address_map &map); -protected: - virtual void machine_start() override; - virtual void video_start() override; - - void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, gfx_element *gfx, int flip); -private: // devices required_device<cpu_device> m_maincpu; required_device<cheekyms_audio_device> m_sound_board; |