summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mk2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mk2.cpp')
-rw-r--r--src/mame/drivers/mk2.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/drivers/mk2.cpp b/src/mame/drivers/mk2.cpp
index c91d1de1ab4..92d9af457d3 100644
--- a/src/mame/drivers/mk2.cpp
+++ b/src/mame/drivers/mk2.cpp
@@ -72,17 +72,18 @@ public:
, m_leds(*this, "led%u", 0U)
{ }
+ void mk2(machine_config &config);
+
+private:
DECLARE_READ8_MEMBER(mk2_read_a);
DECLARE_WRITE8_MEMBER(mk2_write_a);
DECLARE_READ8_MEMBER(mk2_read_b);
DECLARE_WRITE8_MEMBER(mk2_write_b);
TIMER_DEVICE_CALLBACK_MEMBER(update_leds);
- void mk2(machine_config &config);
void mk2_mem(address_map &map);
-protected:
+
virtual void machine_start() override;
-private:
uint8_t m_led_data[5];
required_device<cpu_device> m_maincpu;
required_device<speaker_sound_device> m_speaker;