unsigned int pack;\r
\r
code = PicoMem.vram[ts->nametab + (tilex & ts->xmask)];\r
- if (code==blank) continue;\r
if (code>>15) { // high priority tile\r
int cval = (code&0xfc00) | (dx<<16) | (ty<<25);\r
cval|=(code&0x3ff)<<1;\r
*ts->hc++ = cval; // cache it\r
continue;\r
}\r
+ if (code==blank) continue;\r
\r
if (code!=oldcode) {\r
oldcode = code;\r
unsigned char *p = &HighLnSpr[y][0];\r
int cnt = p[0];\r
if (p[3] >= max_line_sprites) continue; // sprite limit?\r
- if ((p[1] & SPRL_MASKED) && !(entry & 0x80)) continue; // masked?\r
+ if (p[1] & SPRL_MASKED) continue; // masked?\r
\r
w = width;\r
if (p[2] + width > max_line_sprites*2) { // tile limit?\r
\r
if (sx == -0x78) {\r
if (p[1] & (SPRL_HAVE_X|SPRL_TILE_OVFL))\r
- p[1] |= SPRL_MASKED; // masked, no more low sprites for this line\r
+ p[1] |= SPRL_MASKED; // masked, no more sprites for this line\r
if (!(p[1] & SPRL_HAVE_X) && cnt == 0)\r
p[1] |= SPRL_HAVE_MASK0; // 1st sprite is masking\r
} else\r