non-gba port continues
[gbajam22] / src / gba / gba.c
diff --git a/src/gba/gba.c b/src/gba/gba.c
new file mode 100644 (file)
index 0000000..1cff462
--- /dev/null
@@ -0,0 +1,7 @@
+#include "gba.h"
+
+void gba_setmode(int mode, unsigned int flags)
+{
+       REG_DISPCNT = mode | flags;
+}
+