summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gp_2.cpp
diff options
context:
space:
mode:
author David Haywood <hazemamewip@hotmail.com>2018-06-27 14:32:24 +0100
committer hap <happppp@users.noreply.github.com>2018-06-27 15:32:24 +0200
commit6d6b562ffd0168791e9d8d363a07063e7090c0c6 (patch)
tree934c34bdc531c611fbf26d94bf58974510eeea2d /src/mame/drivers/gp_2.cpp
parent8aa76c10113d44ab20e242ebdc4f2f69bc77b719 (diff)
more private member use in 'D, E, F, G' drivers (nw) (#3704)
* more private member use in 'D' drivers (nw) * same for 'E' drivers (nw) * and 'F' (nw) * 'G' (nw) (left galaxian/galaxold alone because I know somebody is looking at them)
Diffstat (limited to 'src/mame/drivers/gp_2.cpp')
-rw-r--r--src/mame/drivers/gp_2.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mame/drivers/gp_2.cpp b/src/mame/drivers/gp_2.cpp
index d3ba29e39b8..2460596b0a5 100644
--- a/src/mame/drivers/gp_2.cpp
+++ b/src/mame/drivers/gp_2.cpp
@@ -61,15 +61,18 @@ public:
, m_digits(*this, "digit%u", 0U)
{ }
+ void gp_2(machine_config &config);
+
void init_gp_2();
+
+private:
DECLARE_WRITE8_MEMBER(porta_w);
DECLARE_WRITE8_MEMBER(portc_w);
DECLARE_READ8_MEMBER(portb_r);
TIMER_DEVICE_CALLBACK_MEMBER(zero_timer);
- void gp_2(machine_config &config);
void gp_2_io(address_map &map);
void gp_2_map(address_map &map);
-private:
+
uint8_t m_u14;
uint8_t m_digit;
uint8_t m_segment[16];