projects
/
gbajam22
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added rudimentary menu screen
[gbajam22]
/
src
/
util.h
diff --git
a/src/util.h
b/src/util.h
index
2e5f013
..
1684524
100644
(file)
--- a/
src/util.h
+++ b/
src/util.h
@@
-15,7
+15,7
@@
#define present(x) \
do { \
- REG_DISPCNT = DISPCNT_BG2 | DISPCNT_OBJ | 4 | ((x) << 4); \
+ REG_DISPCNT = (REG_DISPCNT & ~DISPCNT_FB1) | ((x) << 4); \
} while(0)
#define ARM_IWRAM __attribute__((noinline, target("arm"), section(".iwram")))