deco16ic.cpp : Fix 1 pixel glitch

This commit is contained in:
cam900 2020-02-17 13:30:24 +09:00 committed by GitHub
parent 100117c458
commit 10d80d2775
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)];