00826: wc90b, wc90: Some players are cut at left and bottom of the screen.

This commit is contained in:
Roberto Zandona 2009-03-08 15:24:00 +00:00
parent f198859ac0
commit 059955e774

View File

@ -334,9 +334,11 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta
if ( bank & 4 ) { /* visible */
which = ( spriteram[offs+2] >> 2 ) + ( spriteram[offs+3] << 6 );
sx = spriteram[offs + 8] + ( (spriteram[offs + 9] & 1 ) << 8 );
sx = spriteram[offs + 8] + ( (spriteram[offs + 9] & 3 ) << 8 );
sy = spriteram[offs + 6] + ( (spriteram[offs + 7] & 1 ) << 8 );
if (sx >= 0x0300) sx -= 0x0400;
flags = spriteram[offs+4];
( *( draw_sprites_proc[ flags & 0x0f ] ) )(machine, bitmap,cliprect, which, sx, sy, bank, flags );
}