mirror of
https://github.com/holub/mame
synced 2025-05-29 00:53:09 +03:00
03359: sonson: unsupported negative sprite positions
This commit is contained in:
parent
5da6a0477e
commit
347f835803
@ -161,6 +161,13 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta
|
||||
code, color,
|
||||
flipx, flipy,
|
||||
sx, sy, 0);
|
||||
|
||||
/* wrap-around x */
|
||||
drawgfx_transpen(bitmap, cliprect,
|
||||
machine->gfx[1],
|
||||
code, color,
|
||||
flipx, flipy,
|
||||
sx - 256, sy, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user