diff src/system.h @ 15:c8a0dbd7752c

Forgot to commit SDL code
author Michael Pavone <pavone@retrodev.com>
date Sun, 27 Mar 2016 21:31:34 -0700
parents
children ae58e7c3c328
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/system.h	Sun Mar 27 21:31:34 2016 -0700
@@ -0,0 +1,8 @@
+#ifndef SYSTEM_H_
+#define SYSTEM_H_
+
+int system_init(int width, int height);
+uint16_t *system_get_framebuffer(int *pitch);
+void system_framebuffer_updated();
+
+#endif //SYSTEM_H_