projects
/
gbajam22
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
src/gba/gba.c
@@ -0,0
+1,7
@@
+#include "gba.h"
+
+void gba_setmode(int mode, unsigned int flags)
+{
+ REG_DISPCNT = mode | flags;
+}
+