(mess) upd7220: duh (nw)

This commit is contained in:
cracyc 2014-11-03 19:22:38 -06:00
parent 23657cbbc8
commit 97dd5ba87d

View File

@ -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. 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 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 ... */ 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()) if (!m_display_cb.isnull())
draw_graphics_line(bitmap, addr, y + (bsy / (mixed ? 1 : m_lr)), wd); draw_graphics_line(bitmap, addr, y + (bsy / (mixed ? 1 : m_lr)), wd);