fix text flicker

This commit is contained in:
Samuel Walker 2024-09-01 07:58:22 -06:00
parent bf9f03c963
commit e1835985c4

View File

@ -221,7 +221,7 @@ void drawMap() {
} }
void render() { void render() {
clearScreenWithTile(TILE_EMPTY); //clearScreenWithTile(TILE_EMPTY);
s16 castStart = angle - 20; s16 castStart = angle - 20;
if(angle >= 360) angle = angle - 360; if(angle >= 360) angle = angle - 360;
if(angle < 0) angle = 360 + angle; if(angle < 0) angle = 360 + angle;
@ -236,7 +236,7 @@ void render() {
//VDP_waitVSync(); //VDP_waitVSync();
} }
//drawMap(); //drawMap();
VDP_setTextPlane(BG_B); VDP_setTextPlane(BG_A);
VDP_setTextPalette(2); VDP_setTextPalette(2);
VDP_showFPS(1); VDP_showFPS(1);
char debugCastText[20]; char debugCastText[20];