summaryrefslogtreecommitdiff
path: root/arm9/lib
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-05-16 13:48:47 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-05-16 13:48:47 -0400
commit49edb00ce8ba82f3449963f80b9131c45b524d8e (patch)
treec5537c37c690bfe951bcd9e5999d515ac8226afa /arm9/lib
parenta728a3d62280db3c359e8eea68771dba361c2f2f (diff)
Split two (supposedly) gflib files
Diffstat (limited to 'arm9/lib')
-rw-r--r--arm9/lib/include/OS_system.h1
-rw-r--r--arm9/lib/include/syscall.h6
-rw-r--r--arm9/lib/src/OS_system.c1
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