mirror of
https://github.com/holub/mame
synced 2025-06-04 03:46:29 +03:00
00826: wc90b, wc90: Some players are cut at left and bottom of the screen.
This commit is contained in:
parent
f198859ac0
commit
059955e774
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user