Wii: Minor fixes

This commit is contained in:
Jeffrey Pfau 2015-08-30 01:19:05 -07:00
parent 0aaafb9d4e
commit 2b86196ad7
1 changed files with 6 additions and 0 deletions

View File

@ -354,6 +354,9 @@ bool GBAWiiLoadGame(const char* path) {
_drawStart(); _drawStart();
GUIFontPrintf(font, 176, 120, GUI_TEXT_CENTER, 0xFFFFFFFF, "Loading..."); GUIFontPrintf(font, 176, 120, GUI_TEXT_CENTER, 0xFFFFFFFF, "Loading...");
_drawEnd(); _drawEnd();
_drawStart();
GUIFontPrintf(font, 176, 120, GUI_TEXT_CENTER, 0xFFFFFFFF, "Loading...");
_drawEnd();
return GBAContextLoadROM(&context, path, true); return GBAContextLoadROM(&context, path, true);
} }
@ -361,6 +364,9 @@ bool GBAWiiLoadGame(const char* path) {
void GBAWiiLog(struct GBAThread* thread, enum GBALogLevel level, const char* format, va_list args) { void GBAWiiLog(struct GBAThread* thread, enum GBALogLevel level, const char* format, va_list args) {
UNUSED(thread); UNUSED(thread);
UNUSED(level); UNUSED(level);
if (!logfile) {
return;
}
vfprintf(logfile, format, args); vfprintf(logfile, format, args);
fprintf(logfile, "\n"); fprintf(logfile, "\n");
fflush(logfile); fflush(logfile);