From 10d80d2775d0fae33f5df3167cbd6775c7dc0ad4 Mon Sep 17 00:00:00 2001 From: cam900 Date: Mon, 17 Feb 2020 13:30:24 +0900 Subject: [PATCH] deco16ic.cpp : Fix 1 pixel glitch --- src/mame/video/deco16ic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/video/deco16ic.cpp b/src/mame/video/deco16ic.cpp index c1f9464d668..cf702310970 100644 --- a/src/mame/video/deco16ic.cpp +++ b/src/mame/video/deco16ic.cpp @@ -476,7 +476,7 @@ void deco16ic_device::custom_tilemap_draw( src_x &= width_mask; /* boogwing */ - for (int x = cliprect.left(); x < cliprect.right(); x++) + for (int x = cliprect.left(); x <= cliprect.right(); x++) { if (rowscroll_ptr && BIT(control1, 5)) column_offset = rowscroll_ptr[0x200 + ((src_x & 0x1ff) / col_type)];