all repos — mgba @ 2b86196ad7c9cf0875c36f08de19a3ab9c9a729a

mGBA Game Boy Advance Emulator

Wii: Minor fixes
Jeffrey Pfau jeffrey@endrift.com
Sun, 30 Aug 2015 01:19:05 -0700
commit

2b86196ad7c9cf0875c36f08de19a3ab9c9a729a

parent

0aaafb9d4e885456044040782ac1ecbfbb959e66

1 files changed, 6 insertions(+), 0 deletions(-)

jump to
M src/platform/wii/main.csrc/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);