diff options
Diffstat (limited to 'src/devices/video/t6a04.cpp')
-rw-r--r-- | src/devices/video/t6a04.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/video/t6a04.cpp b/src/devices/video/t6a04.cpp index f0a843986b7..989711eb2f3 100644 --- a/src/devices/video/t6a04.cpp +++ b/src/devices/video/t6a04.cpp @@ -12,7 +12,7 @@ ***************************************************************************/ #include "emu.h" -#include "video/t6a04.h" +#include "t6a04.h" // devices DEFINE_DEVICE_TYPE(T6A04, t6a04_device, "t6a04", "Toshiba T6A04 LCD Controller") @@ -110,7 +110,7 @@ uint32_t t6a04_device::screen_update(screen_device &screen, bitmap_ind16 &bitmap for (int b=7; b>=0; b--) { - bitmap.pix16(x&0x3f, y*8+b) = data & 1; + bitmap.pix(x&0x3f, y*8+b) = data & 1; data>>=1; } } @@ -123,7 +123,7 @@ uint32_t t6a04_device::screen_update(screen_device &screen, bitmap_ind16 &bitmap return 0; } -WRITE8_MEMBER(t6a04_device::control_write) +void t6a04_device::control_write(uint8_t data) { if ((data & 0xc0) == 0xc0) // SCE (set contrast) { @@ -168,7 +168,7 @@ WRITE8_MEMBER(t6a04_device::control_write) } } -READ8_MEMBER(t6a04_device::control_read) +uint8_t t6a04_device::control_read() { /* status read @@ -184,7 +184,7 @@ READ8_MEMBER(t6a04_device::control_read) return (m_busy_flag<<7) | (m_word_len<<6) | (m_display_on<<5) | (m_active_counter<<1) | (m_direction == 1 ? 1 : 0); } -WRITE8_MEMBER(t6a04_device::data_write) +void t6a04_device::data_write(uint8_t data) { if (m_word_len) { @@ -211,7 +211,7 @@ WRITE8_MEMBER(t6a04_device::data_write) } -READ8_MEMBER(t6a04_device::data_read) +uint8_t t6a04_device::data_read() { uint8_t data = m_output_reg; uint8_t output_reg; |