diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2020-05-06 18:14:26 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2020-05-06 18:14:26 -0400 |
commit | 9f3c697d9dee85da8c9bf4f708a340d5023194ec (patch) | |
tree | 157b41bdb102fbfa33da992fe4ea2e9e4490ada7 /arm9/lib/include/OS_system.h | |
parent | 8781fb36e9f9a20d6af11c77cfd669e27067e279 (diff) |
FS_overlay.c
Diffstat (limited to 'arm9/lib/include/OS_system.h')
-rw-r--r-- | arm9/lib/include/OS_system.h | 5 |
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 |