From 97dd5ba87d9dd2fd615d2feb28ab582a9e12e53e Mon Sep 17 00:00:00 2001 From: cracyc Date: Mon, 3 Nov 2014 19:22:38 -0600 Subject: [PATCH] (mess) upd7220: duh (nw) --- src/emu/video/upd7220.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);