summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/gcpinbal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/gcpinbal.h')
-rw-r--r--src/mame/includes/gcpinbal.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/mame/includes/gcpinbal.h b/src/mame/includes/gcpinbal.h
index 94baa317ae9..6b7c76e0690 100644
--- a/src/mame/includes/gcpinbal.h
+++ b/src/mame/includes/gcpinbal.h
@@ -11,11 +11,6 @@
class gcpinbal_state : public driver_device
{
public:
- enum
- {
- TIMER_GCPINBAL_INTERRUPT1
- };
-
gcpinbal_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
@@ -31,6 +26,14 @@ public:
, m_sprgen(*this, "spritegen")
{ }
+ void gcpinbal(machine_config &config);
+
+private:
+ enum
+ {
+ TIMER_GCPINBAL_INTERRUPT1
+ };
+
/* devices */
required_device<cpu_device> m_maincpu;
required_device<eeprom_serial_93cxx_device> m_eeprom;
@@ -81,8 +84,7 @@ public:
DECLARE_WRITE_LINE_MEMBER(gcp_adpcm_int);
required_device<excellent_spr_device> m_sprgen;
- void gcpinbal(machine_config &config);
void gcpinbal_map(address_map &map);
-protected:
+
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
};