diff options
Diffstat (limited to 'src/boot/O2/printutils.c')
| -rw-r--r-- | src/boot/O2/printutils.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/boot/O2/printutils.c b/src/boot/O2/printutils.c new file mode 100644 index 000000000..3fb8cf367 --- /dev/null +++ b/src/boot/O2/printutils.c @@ -0,0 +1,17 @@ +#include "global.h" + +s32 PrintUtils_VPrintf(PrintCallback* pfn, const char* fmt, va_list args) { + return _Printf(*pfn, pfn, fmt, args); +} + +s32 PrintUtils_Printf(PrintCallback* pfn, const char* fmt, ...) { + s32 ret; + va_list args; + va_start(args, fmt); + + ret = PrintUtils_VPrintf(pfn, fmt, args); + + va_end(args); + + return ret; +} |
