From 844ad1a748c86cf660cf244189e148c5e952a2e4 Mon Sep 17 00:00:00 2001 From: "Alex W. Jackson" Date: Wed, 22 Oct 2014 11:13:58 -0400 Subject: upd7220: fix shift expression MSVC doesn't like (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 f211eb84854..9d1ff062c09 100644 --- a/src/emu/video/upd7220.c +++ b/src/emu/video/upd7220.c @@ -1587,7 +1587,7 @@ void upd7220_device::update_graphics(bitmap_rgb32 &bitmap, const rectangle &clip addr = ((sad << 1) & 0x3ffff) + (y * m_pitch * 2); 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 -- cgit v1.2.3