diff options
author | Revo <projectrevotpp@hotmail.com> | 2021-01-08 19:33:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-08 19:33:39 -0500 |
commit | 3289261e5aaddcd67f72513de06a72a379854d5c (patch) | |
tree | 3af221138ff7d6e8ad56a4b95a6255a0edc3812b /arm9/lib/include/consts.h | |
parent | ee1f12ce06e865f47511ba200029e0afaafa4255 (diff) | |
parent | 1e268426533b6bb78b86e35577c72cd4bb5cbb4c (diff) |
Merge pull request #312 from red031000/master
decompile CTRDG_common
Diffstat (limited to 'arm9/lib/include/consts.h')
-rw-r--r-- | arm9/lib/include/consts.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arm9/lib/include/consts.h b/arm9/lib/include/consts.h index 095a15df..a41f22ae 100644 --- a/arm9/lib/include/consts.h +++ b/arm9/lib/include/consts.h @@ -6,6 +6,13 @@ #include "registers.h" #include "systemWork.h" +#define HW_C5_PERMIT_MASK 0xf + +#define HW_C5_PERMIT_RO 5 +#define HW_C5_PERMIT_RW 1 + +#define HW_C5_PR3_SFT 12 + #define HW_C6_PR_4KB 0x16 #define HW_C6_PR_8KB 0x18 #define HW_C6_PR_16KB 0x1a |