Wizard Fire fix
This commit is contained in:
parent
7929934a98
commit
69005de99e
|
@ -85,6 +85,7 @@ void deco16_draw_prio_sprite(UINT16 *dest, UINT8 *gfx, INT32 code, INT32 color,
|
|||
|
||||
if (!pxl) continue;
|
||||
|
||||
if (pri != -1) {
|
||||
INT32 bpriority = deco16_prio_map[(sy * 512) + sx];
|
||||
|
||||
if (spri == -1) {
|
||||
|
@ -95,9 +96,11 @@ void deco16_draw_prio_sprite(UINT16 *dest, UINT8 *gfx, INT32 code, INT32 color,
|
|||
deco16_sprite_prio_map[sy * 512 + sx] = spri;
|
||||
deco16_prio_map[sy * 512 + sx] = pri; // right?
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
dest[sy * nScreenWidth + sx] = pxl | color;
|
||||
|
||||
deco16_prio_map[sy * 512 + sx] |= 0x80; // right?
|
||||
}
|
||||
|
||||
sx -= 16;
|
||||
|
|
Loading…
Reference in New Issue