diff --git a/src/main.c b/src/main.c index 7321d75..ecf7909 100644 --- a/src/main.c +++ b/src/main.c @@ -206,14 +206,13 @@ void drawMap() { void render() { clearScreenWithTile(TILE_EMPTY); - initTileBuffer(12); // map color - uploadTileDataToVRAM(TILE_FILLED); - initTileBuffer(0); // background color - uploadTileDataToVRAM(TILE_EMPTY); drawMap(); VDP_setTextPlane(BG_B); VDP_setTextPalette(2); - VDP_showFPS(0); + VDP_showFPS(1); + for(int i = 0; i < 50; i++){ + castRay(10); + } SYS_doVBlankProcess(); }