diff options
| author | 2016-01-27 08:12:00 +0100 | |
|---|---|---|
| committer | 2016-01-27 08:12:00 +0100 | |
| commit | b1d6f6d63f8294a3f62d7db6f9eea07da1d93664 (patch) | |
| tree | 10258b6f255e00e7eec2ec30112d6de07015c475 /src/devices/video/pcd8544.cpp | |
| parent | 9425c141de76ef9ee178af80731110e228fa89bb (diff) | |
Cleanups and version bumpmame0170
Diffstat (limited to 'src/devices/video/pcd8544.cpp')
| -rw-r--r-- | src/devices/video/pcd8544.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/video/pcd8544.cpp b/src/devices/video/pcd8544.cpp index ce0a57067a5..a0de1762fa9 100644 --- a/src/devices/video/pcd8544.cpp +++ b/src/devices/video/pcd8544.cpp @@ -61,8 +61,8 @@ void pcd8544_device::device_start() void pcd8544_device::device_reset() { - m_mode = 0x04; // PD=1, V=0, H=0 - m_control = 0x00; // E=0, D=0 + m_mode = 0x04; // PD=1, V=0, H=0 + m_control = 0x00; // E=0, D=0 m_addr_y = 0; m_addr_x = 0; m_bias = 0; @@ -207,13 +207,13 @@ UINT32 pcd8544_device::screen_update(screen_device &screen, bitmap_ind16 &bitmap { switch (m_control) { - case 0: // display blank - case 1: // all display segments on + case 0: // display blank + case 1: // all display segments on bitmap.fill(m_control & 1, cliprect); break; - case 2: // normal mode - case 3: // inverse video mode + case 2: // normal mode + case 3: // inverse video mode if (!m_screen_update_cb.isnull()) m_screen_update_cb(screen, bitmap, cliprect, m_vram, m_control & 1); break; |
