Fixed the fpu_log() function, it should now link correctly.

This commit is contained in:
OBattler
2020-01-18 04:53:30 +01:00
parent bde65cb5ce
commit 995e2f0c61
2 changed files with 4 additions and 4 deletions

View File

@@ -21,12 +21,12 @@
int fpu_do_log = ENABLE_FPU_LOG; int fpu_do_log = ENABLE_FPU_LOG;
static void void
fpu_log(const char *fmt, ...) fpu_log(const char *fmt, ...)
{ {
va_list ap; va_list ap;
if (fpu_log) { if (fpu_do_log) {
va_start(ap, fmt); va_start(ap, fmt);
pclog_ex(fmt, ap); pclog_ex(fmt, ap);
va_end(ap); va_end(ap);

View File

@@ -21,12 +21,12 @@
int fpu_do_log = ENABLE_FPU_LOG; int fpu_do_log = ENABLE_FPU_LOG;
static void void
fpu_log(const char *fmt, ...) fpu_log(const char *fmt, ...)
{ {
va_list ap; va_list ap;
if (fpu_log) { if (fpu_do_log) {
va_start(ap, fmt); va_start(ap, fmt);
pclog_ex(fmt, ap); pclog_ex(fmt, ap);
va_end(ap); va_end(ap);