namcos22: fix bug with priority over textlayer (nw)

This commit is contained in:
hap 2018-11-09 19:34:35 +01:00
parent 2c4af31088
commit 21643b0573
2 changed files with 3 additions and 4 deletions

View File

@ -35,7 +35,6 @@
* - alpha blended sprite/poly with priority over alpha blended text doesn't work right (see dirtdash countdown when you start at jungle level) * - alpha blended sprite/poly with priority over alpha blended text doesn't work right (see dirtdash countdown when you start at jungle level)
* - ss22 poly translucency is probably more limited than currently emulated, not supporting stacked layers * - ss22 poly translucency is probably more limited than currently emulated, not supporting stacked layers
* - there's a sprite limit per scanline, eg. timecris submarine explosion smoke partially erases sprites on real hardware * - there's a sprite limit per scanline, eg. timecris submarine explosion smoke partially erases sprites on real hardware
* - cybrcomm arrows(black part) should be below textlayer when a messagebox pops up
* - cybrcycc speed dial needle is missing * - cybrcycc speed dial needle is missing
* - global offset is wrong in non-super22 servicemode video test, and above that, it flickers in acedrvrw, victlapw * - global offset is wrong in non-super22 servicemode video test, and above that, it flickers in acedrvrw, victlapw
* - dirtdash polys are broken at the start section of the mountain level, maybe bad rom? * - dirtdash polys are broken at the start section of the mountain level, maybe bad rom?

View File

@ -127,7 +127,7 @@ void namcos22_renderer::renderscanline_uvi_full(int32_t scanline, const extent_t
} }
dest[x] = rgb.to_rgba(); dest[x] = rgb.to_rgba();
primap[x] |= prioverchar; primap[x] = (primap[x] & ~1) | prioverchar;
u += du; u += du;
v += dv; v += dv;
@ -171,7 +171,7 @@ void namcos22_renderer::renderscanline_uvi_full(int32_t scanline, const extent_t
rgb.scale_imm_and_clamp(shade << 2); rgb.scale_imm_and_clamp(shade << 2);
dest[x] = rgb.to_rgba(); dest[x] = rgb.to_rgba();
primap[x] |= prioverchar; primap[x] = (primap[x] & ~1) | prioverchar;
u += du; u += du;
v += dv; v += dv;
@ -221,7 +221,7 @@ void namcos22_renderer::renderscanline_sprite(int32_t scanline, const extent_t &
} }
dest[x] = rgb.to_rgba(); dest[x] = rgb.to_rgba();
primap[x] |= prioverchar; primap[x] = (primap[x] & ~1) | prioverchar;
} }
x_index += dx; x_index += dx;
} }