summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/fgoal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/fgoal.h')
-rw-r--r--src/mame/includes/fgoal.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/mame/includes/fgoal.h b/src/mame/includes/fgoal.h
index bd1c643e0c8..d56c391716e 100644
--- a/src/mame/includes/fgoal.h
+++ b/src/mame/includes/fgoal.h
@@ -7,11 +7,6 @@
class fgoal_state : public driver_device
{
public:
- enum
- {
- TIMER_INTERRUPT
- };
-
fgoal_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
@@ -21,6 +16,16 @@ public:
m_palette(*this, "palette"),
m_video_ram(*this, "video_ram") { }
+ void fgoal(machine_config &config);
+
+ DECLARE_CUSTOM_INPUT_MEMBER(_80_r);
+
+private:
+ enum
+ {
+ TIMER_INTERRUPT
+ };
+
/* devices */
required_device<cpu_device> m_maincpu;
required_device<mb14241_device> m_mb14241;
@@ -61,8 +66,6 @@ public:
DECLARE_WRITE8_MEMBER(ypos_w);
DECLARE_WRITE8_MEMBER(xpos_w);
- DECLARE_CUSTOM_INPUT_MEMBER(_80_r);
-
TIMER_CALLBACK_MEMBER(interrupt_callback);
virtual void machine_start() override;
@@ -74,8 +77,7 @@ public:
int intensity(int bits);
unsigned video_ram_address( );
- void fgoal(machine_config &config);
void cpu_map(address_map &map);
-protected:
+
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
};