mirror of https://github.com/mgba-emu/mgba.git
Wii: Minor fixes
This commit is contained in:
parent
0aaafb9d4e
commit
2b86196ad7
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue