Wizard Fire fix

This commit is contained in:
dinkc64 2014-07-24 18:43:14 +00:00
parent 7929934a98
commit 69005de99e
1 changed files with 13 additions and 10 deletions

View File

@ -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;