diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2018-05-23 16:42:26 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2018-05-23 16:42:26 -0400 |
commit | 377d5326afd4881f0dd4e1a9a2c0802980fefc98 (patch) | |
tree | 0b069dac610c1762b0629a8d7dda8478c59b571e /src/devices/video | |
parent | 5c6ba408bc56cc8b5d9cee6bd684fe4e1ff5671e (diff) |
i8275: Fix underline-related row blanking; clean up a few more drivers (nw)
Diffstat (limited to 'src/devices/video')
-rw-r--r-- | src/devices/video/i8275.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/video/i8275.cpp b/src/devices/video/i8275.cpp index 96484294ece..cd035f8fa54 100644 --- a/src/devices/video/i8275.cpp +++ b/src/devices/video/i8275.cpp @@ -329,7 +329,8 @@ void i8275_device::device_timer(emu_timer &timer, device_timer_id id, int param, if ((m_status & ST_VE) && m_scanline < m_vrtc_scanline) { int line_counter = OFFSET_LINE_COUNTER ? ((lc - 1) % SCANLINES_PER_ROW) : lc; - bool end_of_row = (UNDERLINE >= 8) && ((lc == 0) || (lc == SCANLINES_PER_ROW - 1)); + bool end_of_row = false; + bool blank_row = (UNDERLINE >= 8) && ((lc == 0) || (lc == SCANLINES_PER_ROW - 1)); int fifo_idx = 0; m_hlgt = (m_stored_attr & FAC_H) ? 1 : 0; m_vsp = (m_stored_attr & FAC_B) ? 1 : 0; @@ -443,7 +444,7 @@ void i8275_device::device_timer(emu_timer &timer, device_timer_id id, int param, } } - if (end_of_row || m_end_of_screen) + if (blank_row || end_of_row || m_end_of_screen) { vsp = 1; } |