diff options
| author | 2014-10-22 11:13:58 -0400 | |
|---|---|---|
| committer | 2014-10-22 11:13:58 -0400 | |
| commit | 844ad1a748c86cf660cf244189e148c5e952a2e4 (patch) | |
| tree | 1a8e1456cec09b7554558b621b57a635415a6064 | |
| parent | a96c84dc268afaa0beabf7b8a4bf5baac49c4f9a (diff) | |
upd7220: fix shift expression MSVC doesn't like (nw)
| -rw-r--r-- | src/emu/video/upd7220.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
