summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/gunbustr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/gunbustr.h')
-rw-r--r--src/mame/includes/gunbustr.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/mame/includes/gunbustr.h b/src/mame/includes/gunbustr.h
index 39109daa603..9b6c764cc0a 100644
--- a/src/mame/includes/gunbustr.h
+++ b/src/mame/includes/gunbustr.h
@@ -17,11 +17,6 @@ struct gb_tempsprite
class gunbustr_state : public driver_device
{
public:
- enum
- {
- TIMER_GUNBUSTR_INTERRUPT5
- };
-
gunbustr_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
@@ -35,6 +30,17 @@ public:
m_coin_lockout = true;
}
+ void gunbustr(machine_config &config);
+
+ void init_gunbustrj();
+ void init_gunbustr();
+
+private:
+ enum
+ {
+ TIMER_GUNBUSTR_INTERRUPT5
+ };
+
required_device<cpu_device> m_maincpu;
required_device<tc0480scp_device> m_tc0480scp;
required_shared_ptr<uint32_t> m_ram;
@@ -53,15 +59,12 @@ public:
DECLARE_WRITE32_MEMBER(gunbustr_gun_w);
DECLARE_READ32_MEMBER(main_cycle_r);
DECLARE_WRITE8_MEMBER(coin_word_w);
- void init_gunbustrj();
- void init_gunbustr();
virtual void video_start() override;
uint32_t screen_update_gunbustr(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
INTERRUPT_GEN_MEMBER(gunbustr_interrupt);
void draw_sprites(screen_device &screen, bitmap_ind16 &bitmap,const rectangle &cliprect,const int *primasks,int x_offs,int y_offs);
- void gunbustr(machine_config &config);
void gunbustr_map(address_map &map);
-protected:
+
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
};