Add libc64/aprintf.c

This commit is contained in:
Cuyler36
2023-02-22 16:24:47 -05:00
parent df41337ebf
commit 90097228a2
6 changed files with 50 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
#include "libc64/aprintf.h"
#include "libultra/xprintf.h" /* _Printf */
extern int vaprintf(aprout_func_t* func, const char* fmt, va_list ap) {
return _Printf(func->prout_func, &func->prout_func, fmt, ap);
}
+1 -1
View File
@@ -1,5 +1,5 @@
#include "libultra/gfxprint.h"
#include "libultra/aprintf.h" /* TODO: implement libultra/aprintf.h for vaprintf */
#include "libc64/aprintf.h"
static u8 gfxprint_font[] = {
0x00, 0xdf, 0xfd, 0x00, 0x0a, 0xee, 0xff, 0xa0, 0x0d, 0xf2, 0x2d, 0xd0, 0x06, 0x61, 0x1d, 0xc0,
+5
View File
@@ -0,0 +1,5 @@
#include "libultra/xprintf.h"
extern int _Printf(void* (*prout_func)(void*, const char*, int), char* buf, const char* fmt, va_list ap) {
}