mirror of
https://github.com/holub/mame
synced 2025-07-03 00:56:03 +03:00
sknsspr: fix sign overflow
This commit is contained in:
parent
e4efa7eec9
commit
e4f8802192
@ -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 New Issue
Block a user