mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
sknsspr: fix sign overflow
This commit is contained in:
parent
e4efa7eec9
commit
e4f8802192
1 changed files with 2 additions and 2 deletions
|
@ -88,9 +88,9 @@ void sknsspr_device::skns_sprite_kludge(int x, int y)
|
|||
u32 zxd = 0x10000-(zx_s); \
|
||||
u32 zys = 0x10000-(zy_m); \
|
||||
u32 zyd = 0x10000-(zy_s); \
|
||||
int xs, ys, xd, yd, old, old2; \
|
||||
u32 bxs = 0, bys = 0, xs, ys; \
|
||||
int xd, yd, old, old2; \
|
||||
int step_spr = step; \
|
||||
int bxs = 0, bys = 0; \
|
||||
rectangle clip; \
|
||||
clip.min_x = cliprect.min_x<<16; \
|
||||
clip.max_x = (cliprect.max_x+1)<<16; \
|
||||
|
|
Loading…
Reference in a new issue