diff options
Diffstat (limited to 'src/devices/video/hlcd0538.cpp')
-rw-r--r-- | src/devices/video/hlcd0538.cpp | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/src/devices/video/hlcd0538.cpp b/src/devices/video/hlcd0538.cpp index c409e6be528..12a188d07a0 100644 --- a/src/devices/video/hlcd0538.cpp +++ b/src/devices/video/hlcd0538.cpp @@ -23,22 +23,18 @@ DEFINE_DEVICE_TYPE(HLCD0539, hlcd0539_device, "hlcd0539", "Hughes HLCD 0539 LCD // constructor //------------------------------------------------- -hlcd0538_device::hlcd0538_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock) - : device_t(mconfig, type, tag, owner, clock) - , m_write_cols(*this), m_write_interrupt(*this) -{ -} - -hlcd0538_device::hlcd0538_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) - : hlcd0538_device(mconfig, HLCD0538, tag, owner, clock) -{ -} +hlcd0538_device::hlcd0538_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock) : + device_t(mconfig, type, tag, owner, clock), + m_write_cols(*this), m_write_interrupt(*this) +{ } -hlcd0539_device::hlcd0539_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) - : hlcd0538_device(mconfig, HLCD0539, tag, owner, clock) -{ -} +hlcd0538_device::hlcd0538_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) : + hlcd0538_device(mconfig, HLCD0538, tag, owner, clock) +{ } +hlcd0539_device::hlcd0539_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) : + hlcd0538_device(mconfig, HLCD0539, tag, owner, clock) +{ } //------------------------------------------------- @@ -65,12 +61,11 @@ void hlcd0538_device::device_start() } - //------------------------------------------------- // handlers //------------------------------------------------- -WRITE_LINE_MEMBER(hlcd0538_device::write_clk) +WRITE_LINE_MEMBER(hlcd0538_device::clk_w) { state = (state) ? 1 : 0; @@ -81,7 +76,7 @@ WRITE_LINE_MEMBER(hlcd0538_device::write_clk) m_clk = state; } -WRITE_LINE_MEMBER(hlcd0538_device::write_lcd) +WRITE_LINE_MEMBER(hlcd0538_device::lcd_w) { state = (state) ? 1 : 0; |