fixed 16bpp offsets in csprite generator (hardcoded for now)
[dosdemo] / src / screen.c
index b39778d..68a8c7f 100644 (file)
@@ -96,9 +96,15 @@ void scr_update(void)
        }
 }
 
+
 void scr_draw(void)
 {
-       if(cur) cur->draw();
+       if(cur) {
+               cur->draw();
+
+               /* print screen name */
+               cs_puts(fb_pixels, 0, 0, cur->name);
+       }
 }
 
 void scr_keypress(int key)