From 036f4ec0f2740b08cf7d69d4c216c1e81c29300b Mon Sep 17 00:00:00 2001 From: dinkc64 <12570148+dinkc64@users.noreply.github.com> Date: Sat, 14 Feb 2015 20:01:23 +0000 Subject: [PATCH] Pac-Land status (top and bottom) was skewed to the right and cut off --- src/burn/drv/pre90s/d_pacland.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/burn/drv/pre90s/d_pacland.cpp b/src/burn/drv/pre90s/d_pacland.cpp index e9f6aee52..9873bf0f8 100644 --- a/src/burn/drv/pre90s/d_pacland.cpp +++ b/src/burn/drv/pre90s/d_pacland.cpp @@ -593,7 +593,7 @@ static void draw_fg_layer(INT32 priority) INT32 sx = (offs & 0x3f) * 8; INT32 sy = (offs / 0x40) * 8; - if (sy >= 40 && sy < 232) sx -= scrollx; + sx -= (sy >= 40 && sy < 232) ? scrollx : 24; if (sx < -7) sx += 512; if (sx >= nScreenWidth) continue;