summaryrefslogtreecommitdiff
path: root/src/os/osSyncPrintf.c
blob: c047a5913fea513dbe67584696735509ae00b002 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "libultra_internal.h"
#include "libc/stdarg.h"
#include "printf.h"

// These funcs defined in is_debug.c
#ifndef DEBUG

char* osSyncPrintf(UNUSED char* arg0, UNUSED const char* arg1, UNUSED size_t size) {
    // ifdef'd formatting code?
    return (char*) (1);
}

void rmonPrintf(const char* fmt, ...) {
    va_list args;
    va_start(args, fmt);
    _Printf(osSyncPrintf, NULL, fmt, args);
    va_end(args);
}

#endif // DEBUG