From b20c50b09128c08e73464248d83ffd18591176f0 Mon Sep 17 00:00:00 2001 From: iq_132 <1191709+iq132@users.noreply.github.com> Date: Sat, 14 Jun 2014 20:20:27 +0000 Subject: [PATCH] Add this back. Dink says there are bugs without it. --- src/burn/drv/dataeast/d_cninja.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/burn/drv/dataeast/d_cninja.cpp b/src/burn/drv/dataeast/d_cninja.cpp index a87522036..9312dff1d 100644 --- a/src/burn/drv/dataeast/d_cninja.cpp +++ b/src/burn/drv/dataeast/d_cninja.cpp @@ -1793,7 +1793,7 @@ static void cninja_draw_sprites() x = x & 0x01ff; y = y & 0x01ff; - if (x >= 512) x -= 512; + if (x >= nScreenWidth) x -= 512; if (y >= 256) y -= 512; x = 240 - x; y = 240 - y;