summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/twin16.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/twin16.cpp')
-rw-r--r--src/mame/video/twin16.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/twin16.cpp b/src/mame/video/twin16.cpp
index a5bf2e24fa7..ebba2d53d93 100644
--- a/src/mame/video/twin16.cpp
+++ b/src/mame/video/twin16.cpp
@@ -331,8 +331,8 @@ void twin16_state::draw_sprites( screen_device &screen, bitmap_ind16 &bitmap, co
xpos = 320-xpos-width;
flipx = !flipx;
}
- if( xpos>cliprect.max_x ) xpos -= 65536;
- if( ypos>cliprect.max_y ) ypos -= 65536;
+ if( xpos>=320 ) xpos -= 65536;
+ if( ypos>=256 ) ypos -= 65536;
/* slow slow slow, but it's ok for now */
for( y=0; y<height; y++, pen_data += width/4 )