uint8_t next;
uint16_t tile;
uint16_t x;
-} __attribute__((packed));
+} __attribute__((packed, aligned(2)));
#define SPR_SIZE(x, y) ((((x) - 1) << 2) | ((y) - 1))
#define MAX_HWSPRITES 64
extern struct hwsprite spr_shadow[MAX_HWSPRITES];
-extern int spr_count;
+extern short spr_count;
void spr_begin(void);
void spr_add(int x, int y, unsigned int tile, int sprsz);