diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2020-06-20 09:19:42 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2020-06-20 09:19:42 -0400 |
commit | a16371f513daf21948e372a3955f4cfa0d89a141 (patch) | |
tree | 7029add9f3cd169307e1023a4b0ae7552b9afeff /include/nitro/consts_shared.h | |
parent | 1386f29730b42a640fde1d568255dc10be4ac759 (diff) | |
parent | 0c8b5417cee5ff73f9db4b691c7549e82fdc30bd (diff) |
Merge branch 'pikalax_work' of github.com:PikalaxALT/pokediamond into pikalax_work
Diffstat (limited to 'include/nitro/consts_shared.h')
-rw-r--r-- | include/nitro/consts_shared.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/nitro/consts_shared.h b/include/nitro/consts_shared.h index b6342172..26cc2fca 100644 --- a/include/nitro/consts_shared.h +++ b/include/nitro/consts_shared.h @@ -30,6 +30,14 @@ #define OSi_InRange(targ, a, b) ((u32)(a) <= (u32)(targ) && (u32)(targ) < (u32)(b)) #define OSi_OFFSET(n, a) (((u32) (n)) & ((a) - 1)) +#define OS_THREAD_SPECIFIC_MAX 0x03 + +#define OS_THREAD_LAUNCHER_PRIORITY 0x10 +#define OS_THREAD_PRIORITY_MIN 0x00 +#define OS_THREAD_PRIORITY_MAX 0x1F + +#define HW_SYSTEM_CLOCK 33514000 + #define OSi_GetArenaInfo() (*(OSArenaInfo*)HW_ARENA_INFO_BUF) #endif //POKEDIAMOND_CONSTS_SHARED_H |