diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2020-05-16 13:48:47 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2020-05-16 13:48:47 -0400 |
commit | 49edb00ce8ba82f3449963f80b9131c45b524d8e (patch) | |
tree | c5537c37c690bfe951bcd9e5999d515ac8226afa /arm9/lib | |
parent | a728a3d62280db3c359e8eea68771dba361c2f2f (diff) |
Split two (supposedly) gflib files
Diffstat (limited to 'arm9/lib')
-rw-r--r-- | arm9/lib/include/OS_system.h | 1 | ||||
-rw-r--r-- | arm9/lib/include/syscall.h | 6 | ||||
-rw-r--r-- | arm9/lib/src/OS_system.c | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/arm9/lib/include/OS_system.h b/arm9/lib/include/OS_system.h index 794e16d2..6ce585dc 100644 --- a/arm9/lib/include/OS_system.h +++ b/arm9/lib/include/OS_system.h @@ -35,5 +35,6 @@ OSIntrMode OS_GetCpsrIrq(); OSProcMode OS_GetProcMode(); void OS_SpinWait(); void OS_WaitVBlankIntr(); +void OS_WaitIrq(BOOL, u32); #endif //POKEDIAMOND_OS_SYSTEM_H diff --git a/arm9/lib/include/syscall.h b/arm9/lib/include/syscall.h new file mode 100644 index 00000000..8561cabe --- /dev/null +++ b/arm9/lib/include/syscall.h @@ -0,0 +1,6 @@ +#ifndef NITRO_SYSCALL_H_ +#define NITRO_SYSCALL_H_ + +void SVC_WaitByLoop(u32 ct); + +#endif //NITRO_SYSCALL_H_ diff --git a/arm9/lib/src/OS_system.c b/arm9/lib/src/OS_system.c index e5dfcb47..5379433b 100644 --- a/arm9/lib/src/OS_system.c +++ b/arm9/lib/src/OS_system.c @@ -3,6 +3,7 @@ // #include "OS_system.h" +#include "syscall.h" ARM_FUNC asm OSIntrMode OS_EnableInterrupts() { mrs r0, cpsr |