mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
upd7220: fix shift expression MSVC doesn't like (nw)
This commit is contained in:
parent
a96c84dc26
commit
844ad1a748
@ -1587,7 +1587,7 @@ void upd7220_device::update_graphics(bitmap_rgb32 &bitmap, const rectangle &clip
|
|||||||
addr = ((sad << 1) & 0x3ffff) + (y * m_pitch * 2);
|
addr = ((sad << 1) & 0x3ffff) + (y * m_pitch * 2);
|
||||||
|
|
||||||
if (!m_display_cb.isnull())
|
if (!m_display_cb.isnull())
|
||||||
draw_graphics_line(bitmap, addr, y + (bsy >> !im), wd);
|
draw_graphics_line(bitmap, addr, y + (im ? bsy : (bsy >> 1)), wd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user