summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/lucky74.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/lucky74.h')
-rw-r--r--src/mame/includes/lucky74.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/mame/includes/lucky74.h b/src/mame/includes/lucky74.h
index 72326fb54c4..2608f448bcf 100644
--- a/src/mame/includes/lucky74.h
+++ b/src/mame/includes/lucky74.h
@@ -1,5 +1,9 @@
// license:BSD-3-Clause
// copyright-holders:Roberto Fresca
+#ifndef MAME_INCLUDES_LUCKY74_H
+#define MAME_INCLUDES_LUCKY74_H
+
+#pragma once
#include "sound/msm5205.h"
#include "emupal.h"
@@ -21,6 +25,12 @@ public:
void lucky74(machine_config &config);
+protected:
+ virtual void machine_start() override { m_lamps.resolve(); }
+ virtual void video_start() override;
+ virtual void machine_reset() override;
+ virtual void sound_start() override;
+
private:
DECLARE_READ8_MEMBER(custom_09R81P_port_r);
DECLARE_WRITE8_MEMBER(custom_09R81P_port_w);
@@ -44,11 +54,6 @@ private:
void lucky74_map(address_map &map);
void lucky74_portmap(address_map &map);
- virtual void machine_start() override { m_lamps.resolve(); }
- virtual void video_start() override;
- virtual void machine_reset() override;
- virtual void sound_start() override;
-
uint8_t m_ym2149_portb;
uint8_t m_usart_8251;
uint8_t m_copro_sm7831;
@@ -68,3 +73,5 @@ private:
required_device<gfxdecode_device> m_gfxdecode;
output_finder<12> m_lamps;
};
+
+#endif // MAME_INCLUDES_LUCKY74_H