summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2021-06-21 09:46:04 -0500
committer cracyc <cracyc@users.noreply.github.com>2021-06-21 09:46:04 -0500
commit2386a64165b743ff9a9ba85bb8d3729601cd8038 (patch)
treee3989ee9b1d16edf6cc70e9bb88a5d0728eab029
parent20a03efe41b7d02ec80c1d711a2116f0dbaf1dec (diff)
hd61830: fix cursor in d2
-rw-r--r--src/devices/video/hd61830.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/video/hd61830.cpp b/src/devices/video/hd61830.cpp
index 15d94e88317..235d250b405 100644
--- a/src/devices/video/hd61830.cpp
+++ b/src/devices/video/hd61830.cpp
@@ -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;