diff options
| author | 2021-06-21 13:53:49 -0700 | |
|---|---|---|
| committer | 2021-06-21 13:53:49 -0700 | |
| commit | 32dbba7d2d4513774b2d877b4c88f2d0760bcf54 (patch) | |
| tree | f9e6426cf8dc28413c456bdbcd450c85cb302422 /src/devices/video/hd61830.cpp | |
| parent | 5522729235b3ce81c839f3932c1aadc14de59e2b (diff) | |
| parent | 2709c0143a8c7009715242c135b28403eeffce8b (diff) | |
Merge branch 'master' into deprecateddeprecated
Diffstat (limited to 'src/devices/video/hd61830.cpp')
| -rw-r--r-- | src/devices/video/hd61830.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/video/hd61830.cpp b/src/devices/video/hd61830.cpp index 55bf2bbd588..235d250b405 100644 --- a/src/devices/video/hd61830.cpp +++ b/src/devices/video/hd61830.cpp @@ -440,7 +440,7 @@ void hd61830_device::draw_char(bitmap_ind16 &bitmap, const rectangle &cliprect, { // cursor off, character blink if (!cursor) - pixel = m_cursor ? pixel : 0; + pixel = m_cursor ? 1 : pixel; // cursor blink if (cursor && (cl == m_cp)) @@ -483,8 +483,8 @@ void hd61830_device::update_text(bitmap_ind16 &bitmap, const rectangle &cliprect md1 = readbyte(rac2); md2 = readbyte(rac2+1); - draw_char(bitmap, cliprect, ma, x, y + rows, md1); - draw_char(bitmap, cliprect, ma+1, x+1, y + rows, md2); + draw_char(bitmap, cliprect, ma + (rows * m_hn), x, y + rows, md1); + draw_char(bitmap, cliprect, ma+1 + (rows * m_hn), x+1, y + rows, md2); ma+=2; rac1+=2; |
