projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dropping SDL for the cross-platform version almost done
[dosdemo]
/
src
/
demo.h
diff --git
a/src/demo.h
b/src/demo.h
index
2060630
..
de0654b
100644
(file)
--- a/
src/demo.h
+++ b/
src/demo.h
@@
-8,6
+8,7
@@
/*extern int fb_width, fb_height, fb_bpp;*/
#define FB_WIDTH 320
#define FB_HEIGHT 240
+#define FB_ASPECT ((float)FB_WIDTH / (float)FB_HEIGHT)
#define FB_BPP 16
extern uint16_t *fb_pixels;
extern uint16_t *vmem;