Merge pull request #6318 from cam900/patch-127

deco16ic.cpp : Fix 1 pixel glitch
This commit is contained in:
MetalliC 2020-02-17 17:25:59 +02:00 committed by GitHub
commit 9e9325a23d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)];