Wii: Minor fixes
Jeffrey Pfau jeffrey@endrift.com
Sun, 30 Aug 2015 01:19:05 -0700
1 files changed,
6 insertions(+),
0 deletions(-)
jump to
M
src/platform/wii/main.c
→
src/platform/wii/main.c
@@ -354,6 +354,9 @@ bool GBAWiiLoadGame(const char* path) {
_drawStart(); GUIFontPrintf(font, 176, 120, GUI_TEXT_CENTER, 0xFFFFFFFF, "Loading..."); _drawEnd(); + _drawStart(); + GUIFontPrintf(font, 176, 120, GUI_TEXT_CENTER, 0xFFFFFFFF, "Loading..."); + _drawEnd(); return GBAContextLoadROM(&context, path, true); }@@ -361,6 +364,9 @@
void GBAWiiLog(struct GBAThread* thread, enum GBALogLevel level, const char* format, va_list args) { UNUSED(thread); UNUSED(level); + if (!logfile) { + return; + } vfprintf(logfile, format, args); fprintf(logfile, "\n"); fflush(logfile);