summaryrefslogtreecommitdiff
path: root/include/gba
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2017-10-31 13:04:52 -0500
committerGitHub <noreply@github.com>2017-10-31 13:04:52 -0500
commit4cb8528d94216f69c4a37d470c1d5f3487a87239 (patch)
tree32cba14641d7f357b07ae227459fd4b059e22267 /include/gba
parent5ea2f463d71d0bc2663e70a553557de0ccf40eef (diff)
parentf724213a040f3c6a2f9685d52ae4e06d57aa0c41 (diff)
Merge pull request #94 from DizzyEggg/decompile_battle_controllers
Decompile ALL battle controllers
Diffstat (limited to 'include/gba')
-rw-r--r--include/gba/io_reg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gba/io_reg.h b/include/gba/io_reg.h
index 83a2a123b..f86f2434c 100644
--- a/include/gba/io_reg.h
+++ b/include/gba/io_reg.h
@@ -628,6 +628,8 @@
#define KEY_OR_INTR 0x0000
#define KEY_AND_INTR 0x8000
+#define DPAD_ANY ((DPAD_RIGHT | DPAD_LEFT | DPAD_UP | DPAD_DOWN))
+
// interrupt flags
#define INTR_FLAG_VBLANK (1 << 0)
#define INTR_FLAG_HBLANK (1 << 1)