summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices
diff options
context:
space:
mode:
authorGravatarGravatar hap <happppp@users.noreply.github.com>2019-12-06 16:52:11 +0100
committerGravatarGravatar hap <happppp@users.noreply.github.com>2019-12-06 16:56:26 +0100
commitf7f0fed6baba2da45524c7e4f05d7c21b53a46cf (patch)
treeecdb7f118a401ec4515afa503b37bdd4ea9b11c3 /src/devices
parenta36dd336b898007c821ebaf8f0bd5109571bf75c (diff)
dominator: identify buttons (nw)
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/video/lc7582.cpp9
-rw-r--r--src/devices/video/lc7582.h3
2 files changed, 3 insertions, 9 deletions
diff --git a/src/devices/video/lc7582.cpp b/src/devices/video/lc7582.cpp
index d062486e827..d50054b41e8 100644
--- a/src/devices/video/lc7582.cpp
+++ b/src/devices/video/lc7582.cpp
@@ -22,17 +22,12 @@ DEFINE_DEVICE_TYPE(LC7582, lc7582_device, "lc7582", "Sanyo LC7582 LCD Driver")
// constructor
//-------------------------------------------------
-lc7582_device::lc7582_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock) :
- device_t(mconfig, type, tag, owner, clock),
+lc7582_device::lc7582_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) :
+ device_t(mconfig, LC7582, tag, owner, clock),
m_latch{0, 0},
m_write_segs(*this)
{ }
-lc7582_device::lc7582_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) :
- lc7582_device(mconfig, LC7582, tag, owner, clock)
-{ }
-
-
//-------------------------------------------------
// device_start - device-specific startup
diff --git a/src/devices/video/lc7582.h b/src/devices/video/lc7582.h
index 7aea77814ac..a2744aad0b6 100644
--- a/src/devices/video/lc7582.h
+++ b/src/devices/video/lc7582.h
@@ -43,12 +43,11 @@ public:
DECLARE_WRITE_LINE_MEMBER(inh_w) { m_blank = bool(state); refresh_output(); }
protected:
- lc7582_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock);
-
// device-level overrides
virtual void device_start() override;
virtual void device_post_load() override { refresh_output(); }
+private:
void refresh_output();
int m_data = 0;