#ifndef _SPRITE_H #define _SPRITE_H #include "string.h" #include "color.h" #define LCD_WIDTH_PX 384 #define LCD_HEIGHT_PX 216 void VRAM_XORSprite(const color_t* data, int x, int y, int width, int height) { color_t* VRAM = (color_t*)0xA8000000; VRAM += (LCD_WIDTH_PX*y + x); short i, j; for(j=y; j