From 3c458e8b4893866639734a572a7d8e5ce6c7c1ce Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Tue, 5 May 2020 20:13:17 -0400 Subject: Decompile GF funcs responsible for overlays --- arm9/lib/include/OS_system.h | 1 + 1 file changed, 1 insertion(+) (limited to 'arm9/lib/include/OS_system.h') diff --git a/arm9/lib/include/OS_system.h b/arm9/lib/include/OS_system.h index 93903315..794e16d2 100644 --- a/arm9/lib/include/OS_system.h +++ b/arm9/lib/include/OS_system.h @@ -5,6 +5,7 @@ #ifndef POKEDIAMOND_OS_SYSTEM_H #define POKEDIAMOND_OS_SYSTEM_H +#include "function_target.h" #include "consts.h" typedef enum { -- cgit v1.2.3 From 9f3c697d9dee85da8c9bf4f708a340d5023194ec Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Wed, 6 May 2020 18:14:26 -0400 Subject: FS_overlay.c --- arm9/lib/include/OS_system.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arm9/lib/include/OS_system.h') 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 -- cgit v1.2.3 From 34ec05f983cec0517765640d084f58e86aa20d79 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Thu, 7 May 2020 17:53:16 -0400 Subject: Finish FS_archive.c --- arm9/lib/include/OS_system.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'arm9/lib/include/OS_system.h') diff --git a/arm9/lib/include/OS_system.h b/arm9/lib/include/OS_system.h index 1b263b19..88137c3b 100644 --- a/arm9/lib/include/OS_system.h +++ b/arm9/lib/include/OS_system.h @@ -37,9 +37,7 @@ OSProcMode OS_GetProcMode(); void OS_SpinWait(); void OS_WaitVBlankIntr(); void OS_Terminate(void); -static inline void OS_TPanic(const char * message) -{ - OS_Terminate(); -} +#define OS_TPanic(...) OS_Terminate() +#define OS_TWarning(...) ((void)0) #endif //POKEDIAMOND_OS_SYSTEM_H -- cgit v1.2.3 From b398a161f324f88a4d4c8682eb15c63a62753a43 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Fri, 8 May 2020 19:39:43 -0400 Subject: Fix style inconsistencies --- arm9/lib/include/OS_system.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'arm9/lib/include/OS_system.h') diff --git a/arm9/lib/include/OS_system.h b/arm9/lib/include/OS_system.h index 88137c3b..794e16d2 100644 --- a/arm9/lib/include/OS_system.h +++ b/arm9/lib/include/OS_system.h @@ -7,7 +7,6 @@ #include "function_target.h" #include "consts.h" -#include "function_target.h" typedef enum { OS_PROCMODE_USER=16, @@ -36,8 +35,5 @@ OSIntrMode OS_GetCpsrIrq(); OSProcMode OS_GetProcMode(); void OS_SpinWait(); void OS_WaitVBlankIntr(); -void OS_Terminate(void); -#define OS_TPanic(...) OS_Terminate() -#define OS_TWarning(...) ((void)0) #endif //POKEDIAMOND_OS_SYSTEM_H -- cgit v1.2.3