diff options
Diffstat (limited to 'src/devices')
-rw-r--r-- | src/devices/video/lc7582.cpp | 9 | ||||
-rw-r--r-- | src/devices/video/lc7582.h | 3 |
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; |