summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tickee.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tickee.cpp')
-rw-r--r--src/mame/drivers/tickee.cpp26
1 files changed, 14 insertions, 12 deletions
diff --git a/src/mame/drivers/tickee.cpp b/src/mame/drivers/tickee.cpp
index d786575d926..db343ee45bb 100644
--- a/src/mame/drivers/tickee.cpp
+++ b/src/mame/drivers/tickee.cpp
@@ -36,13 +36,6 @@
class tickee_state : public driver_device
{
public:
- enum
- {
- TIMER_TRIGGER_GUN_INTERRUPT,
- TIMER_CLEAR_GUN_INTERRUPT,
- TIMER_SETUP_GUN_INTERRUPTS
- };
-
tickee_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
@@ -53,6 +46,19 @@ public:
m_vram(*this, "vram"),
m_control(*this, "control") { }
+ void rapidfir(machine_config &config);
+ void ghoshunt(machine_config &config);
+ void tickee(machine_config &config);
+ void mouseatk(machine_config &config);
+
+private:
+ enum
+ {
+ TIMER_TRIGGER_GUN_INTERRUPT,
+ TIMER_CLEAR_GUN_INTERRUPT,
+ TIMER_SETUP_GUN_INTERRUPTS
+ };
+
required_device<tms34010_device> m_maincpu;
optional_device<okim6295_device> m_oki;
required_device<screen_device> m_screen;
@@ -91,15 +97,11 @@ public:
TMS340X0_SCANLINE_RGB32_CB_MEMBER(scanline_update);
TMS340X0_SCANLINE_RGB32_CB_MEMBER(rapidfir_scanline_update);
- void rapidfir(machine_config &config);
- void ghoshunt(machine_config &config);
- void tickee(machine_config &config);
- void mouseatk(machine_config &config);
void ghoshunt_map(address_map &map);
void mouseatk_map(address_map &map);
void rapidfir_map(address_map &map);
void tickee_map(address_map &map);
-protected:
+
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
};