@@ -23,4 +23,3 @@ void ENTITY::update(unsigned dt)
velocity += acceleration * dt;
*/
}
-
@@ -27,7 +27,9 @@ void map_loop(unsigned x, unsigned y, Map &map)
// Frameskip
if (timer_read(0) > loop_next)
{
+ buffer_fill(0xff0000);
map.render(camera, 1);
+ lcd_vsync();
buffer_swap();