Mercurial > repos > simple16
annotate src/system.h @ 21:91ded3b12d96
Only run rendering hardware when display is enabled
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 29 Mar 2016 19:59:26 -0700 |
parents | ae58e7c3c328 |
children | 4c9dbfa30a66 |
rev | line source |
---|---|
15 | 1 #ifndef SYSTEM_H_ |
2 #define SYSTEM_H_ | |
3 | |
4 int system_init(int width, int height); | |
5 uint16_t *system_get_framebuffer(int *pitch); | |
6 void system_framebuffer_updated(); | |
16
ae58e7c3c328
Poll events regularly to avoid unresponsive app warnings. Handle quit event
Michael Pavone <pavone@retrodev.com>
parents:
15
diff
changeset
|
7 void system_poll_events(); |
15 | 8 |
9 #endif //SYSTEM_H_ |