projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed 16bpp offsets in csprite generator (hardcoded for now)
[dosdemo]
/
src
/
screen.c
diff --git
a/src/screen.c
b/src/screen.c
index
b39778d
..
68a8c7f
100644
(file)
--- a/
src/screen.c
+++ b/
src/screen.c
@@
-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)