summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2014-11-03 19:22:38 -0600
committer cracyc <cracyc@users.noreply.github.com>2014-11-03 19:22:38 -0600
commit97dd5ba87d9dd2fd615d2feb28ab582a9e12e53e (patch)
tree5231a0dd56545363ab3d26dab437cd0f91ed8df1
parent23657cbbc8083584d59b49853f4a915800914163 (diff)
(mess) upd7220: duh (nw)
-rw-r--r--src/emu/video/upd7220.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/video/upd7220.c b/src/emu/video/upd7220.c
index bc62b357c7e..98ac987ed9e 100644
--- a/src/emu/video/upd7220.c
+++ b/src/emu/video/upd7220.c
@@ -1610,7 +1610,7 @@ void upd7220_device::update_graphics(bitmap_rgb32 &bitmap, const rectangle &clip
Quarth (PC-98xx) doesn't seem to use pitch here and it definitely wants bsy to be /2 to make scrolling to work.
Xevious (PC-98xx) wants the pitch to be fixed at 80, and wants bsy to be /1
Dragon Buster (PC-98xx) contradicts with Xevious with regards of the pitch tho ... */
- addr = ((sad << 1) & 0x3ffff) + (y * (m_aw << (im ? 0 : 1)));
+ addr = ((sad << 1) & 0x3ffff) + (y * (m_pitch << (im ? 0 : 1)));
if (!m_display_cb.isnull())
draw_graphics_line(bitmap, addr, y + (bsy / (mixed ? 1 : m_lr)), wd);