aboutsummaryrefslogtreecommitdiffstats
path: root/src/render.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render.h')
-rw-r--r--src/render.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/render.h b/src/render.h
new file mode 100644
index 0000000..15f9cda
--- /dev/null
+++ b/src/render.h
@@ -0,0 +1,12 @@
+#ifndef GBC_RENDER_H
+#define GBC_RENDER_H
+
+#include "gb.h"
+
+void term_init(void);
+void term_restore(void);
+void render_frame(GB *gb);
+// Poll keyboard, update gb->buttons. Returns false if quit requested.
+bool input_poll(GB *gb);
+
+#endif