summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/datum.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/datum.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/datum.cpp')
-rw-r--r--src/mame/drivers/datum.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/drivers/datum.cpp b/src/mame/drivers/datum.cpp
index a3de0df354f..fecf35f477d 100644
--- a/src/mame/drivers/datum.cpp
+++ b/src/mame/drivers/datum.cpp
@@ -66,14 +66,15 @@ public:
, m_digits(*this, "digit%u", 0U)
{ }
+ void datum(machine_config &config);
+ DECLARE_INPUT_CHANGED_MEMBER(trigger_reset);
+ DECLARE_INPUT_CHANGED_MEMBER(trigger_nmi);
+
+private:
DECLARE_READ8_MEMBER(pa_r);
DECLARE_WRITE8_MEMBER(pa_w);
DECLARE_WRITE8_MEMBER(pb_w);
- DECLARE_INPUT_CHANGED_MEMBER(trigger_reset);
- DECLARE_INPUT_CHANGED_MEMBER(trigger_nmi);
- void datum(machine_config &config);
void datum_mem(address_map &map);
-private:
uint8_t m_keydata;
virtual void machine_reset() override;
virtual void machine_start() override { m_digits.resolve(); }