summaryrefslogtreecommitdiff
path: root/include/gba/io_reg.h
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2021-05-15 16:59:55 -0700
committerGitHub <noreply@github.com>2021-05-15 18:59:55 -0500
commitf402e46cd3c8b7236673d6edbae77903a7cc0618 (patch)
tree37a19f3ab35a73c29d4d6da565741beaf7bb547f /include/gba/io_reg.h
parentf65dee5a143bd543c74c010d7252eb76893ee243 (diff)
Sese's April/May Dump (#37)
* splitting lots of pokemon square and labeling lots of other things * actually commit this stuff * more moving data and things * more screen work * split out some pokemon dungeon data * lots of data work * push more data work * split kecleon, decomp another kanghaskhan func, and try to doc UpdateBGControl more * lots of item work * label more item things * subtype -> category and doc types/category
Diffstat (limited to 'include/gba/io_reg.h')
-rw-r--r--include/gba/io_reg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gba/io_reg.h b/include/gba/io_reg.h
index e50b580..93ee23f 100644
--- a/include/gba/io_reg.h
+++ b/include/gba/io_reg.h
@@ -698,7 +698,7 @@
#define KEY_INTR_ENABLE 0x0400
#define KEY_OR_INTR 0x0000
#define KEY_AND_INTR 0x8000
-#define DPAD_ANY 0x00F0
+#define DPAD_ANY ((DPAD_RIGHT | DPAD_LEFT | DPAD_UP | DPAD_DOWN)) // 0xF0
#define JOY_EXCL_DPAD 0x030F
// interrupt flags