diff src/system.h @ 16:ae58e7c3c328

Poll events regularly to avoid unresponsive app warnings. Handle quit event
author Michael Pavone <pavone@retrodev.com>
date Sun, 27 Mar 2016 21:42:10 -0700
parents c8a0dbd7752c
children 4c9dbfa30a66
line wrap: on
line diff
--- a/src/system.h	Sun Mar 27 21:31:34 2016 -0700
+++ b/src/system.h	Sun Mar 27 21:42:10 2016 -0700
@@ -4,5 +4,6 @@
 int system_init(int width, int height);
 uint16_t *system_get_framebuffer(int *pitch);
 void system_framebuffer_updated();
+void system_poll_events();
 
 #endif //SYSTEM_H_