diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2020-05-07 13:48:17 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2020-05-07 13:49:50 -0400 |
commit | 5928e2511db179bdc809f252a3b7fcd7798726db (patch) | |
tree | e7ce827057873f803f61a94853d717ed4407e713 /arm9/lib/include/OS_system.h | |
parent | 1762253800d072790303d8cd3b047bab25f8eaed (diff) | |
parent | d4575098dbd671e2b6fd27ad65b984502c90465b (diff) |
Merge branch 'libfs' of github.com:PikalaxALT/pokediamond into libfs
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 |