summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2018-01-07 18:01:52 -0600
committer GitHub <noreply@github.com>2018-01-07 18:01:52 -0600
commitffbc31a9a2f280d90df3f7fa8e7171296a3ceff0 (patch)
tree67e9c41129ecee9f27649db6fbcaf9680f2ebb35
parent57a379c15ab7692b49b5256557d80b67f912d064 (diff)
alphatpx: fix cursor (nw)
-rw-r--r--src/mame/drivers/alphatpx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/alphatpx.cpp b/src/mame/drivers/alphatpx.cpp
index 6fc4936e062..bc20565727c 100644
--- a/src/mame/drivers/alphatpx.cpp
+++ b/src/mame/drivers/alphatpx.cpp
@@ -429,7 +429,7 @@ uint32_t alphatpx_state::screen_update(screen_device &screen, bitmap_rgb32 &bitm
{
uint8_t code = m_vram[(vramy * 128) + x]; // helwie44 must be 128d is 080h physical display-ram step line
// draw 12 lines of the character
- bool cursoren = cursor.contains(x * 8, y * 12);
+ bool cursoren = cursor.contains(x * 8, vramy * 12);
for (int line = 0; line < 12; line++)
{
uint8_t data = m_gfx[((code & 0x7f) * 16) + line];