Fixed ISO builds.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user