From 994cfcbc9a1e42043b25ae3ab6471b8ecbd55ff1 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Thu, 7 May 2020 19:39:53 -0400 Subject: FS_rom.c --- arm9/lib/include/OS_printf.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 arm9/lib/include/OS_printf.h (limited to 'arm9/lib/include/OS_printf.h') diff --git a/arm9/lib/include/OS_printf.h b/arm9/lib/include/OS_printf.h new file mode 100644 index 00000000..0fda0f51 --- /dev/null +++ b/arm9/lib/include/OS_printf.h @@ -0,0 +1,6 @@ +#ifndef NITRO_OS_PRINTF_H_ +#define NITRO_OS_PRINTF_H_ + +#define OS_Warning( ... ) ((void)0) + +#endif //NITRO_OS_PRINTF_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_printf.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arm9/lib/include/OS_printf.h') diff --git a/arm9/lib/include/OS_printf.h b/arm9/lib/include/OS_printf.h index 0fda0f51..7c02252b 100644 --- a/arm9/lib/include/OS_printf.h +++ b/arm9/lib/include/OS_printf.h @@ -2,5 +2,7 @@ #define NITRO_OS_PRINTF_H_ #define OS_Warning( ... ) ((void)0) +#define OS_TPanic(...) OS_Terminate() +#define OS_TWarning(...) ((void)0) #endif //NITRO_OS_PRINTF_H_ -- cgit v1.2.3 From 8f09b9e7138325b4ec2255a1c0a58f385e586f1b Mon Sep 17 00:00:00 2001 From: Demki Date: Sun, 10 May 2020 02:02:09 +0300 Subject: decompilation of OS_printf.c matching other than OS_VSNPrintf --- arm9/lib/include/OS_printf.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'arm9/lib/include/OS_printf.h') diff --git a/arm9/lib/include/OS_printf.h b/arm9/lib/include/OS_printf.h index 7c02252b..7c2e09b4 100644 --- a/arm9/lib/include/OS_printf.h +++ b/arm9/lib/include/OS_printf.h @@ -5,4 +5,11 @@ #define OS_TPanic(...) OS_Terminate() #define OS_TWarning(...) ((void)0) +#include "types.h" + +s32 OS_SPrintf(s8 *buffer, const s8 *format, ...); +s32 OS_VSPrintf(s8 *buffer, const s8 *format, void *args); +s32 OS_SNPrintf(s8 *buffer, s32 bufsz, const s8 *format, ...); +s32 OS_VSNPrintf(s8 *buffer, s32 bufsz, const s8 *format, void *args); + #endif //NITRO_OS_PRINTF_H_ -- cgit v1.2.3