summaryrefslogtreecommitdiff
path: root/arm9/lib/include/OS_system.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-05-06 18:14:26 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-05-06 18:14:26 -0400
commit9f3c697d9dee85da8c9bf4f708a340d5023194ec (patch)
tree157b41bdb102fbfa33da992fe4ea2e9e4490ada7 /arm9/lib/include/OS_system.h
parent8781fb36e9f9a20d6af11c77cfd669e27067e279 (diff)
FS_overlay.c
Diffstat (limited to 'arm9/lib/include/OS_system.h')
-rw-r--r--arm9/lib/include/OS_system.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arm9/lib/include/OS_system.h b/arm9/lib/include/OS_system.h
index 65c58f57..1b263b19 100644
--- a/arm9/lib/include/OS_system.h
+++ b/arm9/lib/include/OS_system.h
@@ -36,5 +36,10 @@ OSIntrMode OS_GetCpsrIrq();
OSProcMode OS_GetProcMode();
void OS_SpinWait();
void OS_WaitVBlankIntr();
+void OS_Terminate(void);
+static inline void OS_TPanic(const char * message)
+{
+ OS_Terminate();
+}
#endif //POKEDIAMOND_OS_SYSTEM_H