delta<<=4; // Delta of address\r
\r
if (entry+1 == cnt) width = p[entry+1]; // last sprite width limited?\r
+ while (sx <= 0 && width) width--, sx+=8, tile+=delta; // Offscreen\r
mp = mb+(sx>>3);\r
- for (m = *mp; width; width--, sx+=8, *mp++ = m, m >>= 8, tile+=delta)\r
+ for (m = *mp; width; width--, sx+=8, tile+=delta, *mp++ = m, m >>= 8)\r
{\r
unsigned int pack;\r
\r
- if(sx<=0) continue;\r
if(sx>=328) break; // Offscreen\r
\r
pack = *(unsigned int *)(PicoMem.vram + (tile & 0x7fff));\r
delta<<=4; // Delta of address\r
\r
if (entry+1 == cnt) width = p[entry+1]; // last sprite width limited?\r
+ while (sx <= 0 && width) width--, sx+=8, tile+=delta; // Offscreen\r
mp = mb+(sx>>3);\r
- for (m = *mp; width; width--, sx+=8, *mp++ = m, m >>= 8, tile+=delta)\r
+ for (m = *mp; width; width--, sx+=8, tile+=delta, *mp++ = m, m >>= 8)\r
{\r
unsigned int pack;\r
\r
- if(sx<=0) continue;\r
if(sx>=328) break; // Offscreen\r
\r
pack = *(unsigned int *)(PicoMem.vram + (tile & 0x7fff));\r