Fixed ISO builds.

This commit is contained in:
2026-06-06 17:07:30 -05:00
parent b286a9bbcd
commit 9f3089742a
4 changed files with 16 additions and 9 deletions
+3 -3
View File
@@ -10,7 +10,7 @@
#include <stdio.h>
#include <stdlib.h>
#ifdef DUSK_WII
#if DUSK_DOLPHIN_BUILD_TYPE == DOL
#include <debug.h>
#include <fat.h>
@@ -38,7 +38,7 @@ void logDebug(const char_t *message, ...) {
va_end(copy);
fflush(stdout);
#ifdef DUSK_WII
#if DUSK_DOLPHIN_BUILD_TYPE == DOL
// Print to file
logInitFAT();
if(fatReady) {
@@ -60,7 +60,7 @@ void logError(const char_t *message, ...) {
va_start(args, message);
// Write to file before displaying on screen
#ifdef DUSK_WII
#if DUSK_DOLPHIN_BUILD_TYPE == DOL
logInitFAT();
if(fatReady) {
FILE *file = fopen(LOG_ERROR_PATH, "a");