diff options
Diffstat (limited to 'src/mame/includes/kopunch.h')
-rw-r--r-- | src/mame/includes/kopunch.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mame/includes/kopunch.h b/src/mame/includes/kopunch.h index 784a457dd5d..1bc3cceafdc 100644 --- a/src/mame/includes/kopunch.h +++ b/src/mame/includes/kopunch.h @@ -20,6 +20,12 @@ public: , m_lamp(*this, "lamp0") { } + void kopunch(machine_config &config); + + DECLARE_INPUT_CHANGED_MEMBER(left_coin_inserted); + DECLARE_INPUT_CHANGED_MEMBER(right_coin_inserted); + +private: DECLARE_READ8_MEMBER(sensors1_r); DECLARE_READ8_MEMBER(sensors2_r); DECLARE_WRITE8_MEMBER(lamp_w); @@ -30,8 +36,6 @@ public: DECLARE_WRITE8_MEMBER(scroll_y_w); DECLARE_WRITE8_MEMBER(gfxbank_w); - DECLARE_INPUT_CHANGED_MEMBER(left_coin_inserted); - DECLARE_INPUT_CHANGED_MEMBER(right_coin_inserted); INTERRUPT_GEN_MEMBER(vblank_interrupt); TILE_GET_INFO_MEMBER(get_fg_tile_info); @@ -39,11 +43,9 @@ public: DECLARE_PALETTE_INIT(kopunch); uint32_t screen_update_kopunch(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); - void kopunch(machine_config &config); void kopunch_io_map(address_map &map); void kopunch_map(address_map &map); -protected: virtual void machine_start() override; virtual void video_start() override; |