summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/video/upd7220.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/video/upd7220.c')
-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);