mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
eliminate texrels (wip2)
This commit is contained in:
parent
ea38612fad
commit
99bdfd31b8
13 changed files with 102 additions and 147 deletions
|
@ -20,13 +20,12 @@ char *PDebugMain(void)
|
|||
{
|
||||
struct PicoVideo *pv=&Pico.video;
|
||||
unsigned char *reg=pv->reg, r;
|
||||
extern int HighPreSpr[];
|
||||
int i, sprites_lo, sprites_hi;
|
||||
char *dstrp;
|
||||
|
||||
sprites_lo = sprites_hi = 0;
|
||||
for (i = 0; HighPreSpr[i] != 0; i+=2)
|
||||
if (HighPreSpr[i+1] & 0x8000)
|
||||
for (i = 0; Pico.est.HighPreSpr[i] != 0; i+=2)
|
||||
if (Pico.est.HighPreSpr[i+1] & 0x8000)
|
||||
sprites_hi++;
|
||||
else sprites_lo++;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue