summaryrefslogtreecommitdiff
path: root/arm9/lib/include/consts.h
diff options
context:
space:
mode:
authorRevo <projectrevotpp@hotmail.com>2020-05-01 16:04:18 -0400
committerGitHub <noreply@github.com>2020-05-01 16:04:18 -0400
commitce558d0870e8b8ceb626ee8a6f165e8be9869ede (patch)
treea002ab92671fdf9736179b9b1d818b6da9c398d2 /arm9/lib/include/consts.h
parentdb2a8afd2f3c5e2a38083a3dc47d65e7848f0fd2 (diff)
parent527b257015fa32ac4007b1d7e9198ac37d8e1542 (diff)
Merge pull request #52 from red031000/master
remove include/nitro and shift everything to arm9/lib
Diffstat (limited to 'arm9/lib/include/consts.h')
-rw-r--r--arm9/lib/include/consts.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/arm9/lib/include/consts.h b/arm9/lib/include/consts.h
index 6fc71be2..930f9af5 100644
--- a/arm9/lib/include/consts.h
+++ b/arm9/lib/include/consts.h
@@ -9,9 +9,9 @@
#define HW_PSR_CPU_MODE_MASK 0x1f // CPU mode
-#define HW_PSR_FIQ_DISABLE 0x40 // Disable FIQ
-#define HW_PSR_IRQ_DISABLE 0x80 // Disable IRQ
-#define HW_PSR_IRQ_FIQ_DISABLE 0xc0 // Disable FIQ and IRQ
+#define HW_PSR_DISABLE_FIQ 0x40 // Disable FIQ
+#define HW_PSR_DISABLE_IRQ 0x80 // Disable IRQ
+#define HW_PSR_DISABLE_IRQ_FIQ 0xc0 // Disable FIQ and IRQ
#define HW_C6_PR_4KB 0x16
#define HW_C6_PR_8KB 0x18
@@ -42,4 +42,6 @@
#define OSi_TRUNC(n, a) (((u32) (n)) & ~((a) - 1))
#define OSi_ROUND(n, a) (((u32) (n) + (a) - 1) & ~((a) - 1))
+#define OS_IE_V_BLANK (1UL << 0)
+
#endif //POKEDIAMOND_CONSTS_H