- fixed crash when used as wiiflow plugin.

This commit is contained in:
Fledge68 2019-02-19 17:12:03 -06:00
parent b66acdf476
commit 1a35f03d47

View File

@ -138,7 +138,11 @@ static void ResetText()
LoadLanguage();
if(mainWindow)
{
HaltGui();
mainWindow->ResetText();
ResumeGui();
}
}
static int currentLanguage = -1;
@ -187,10 +191,8 @@ void ChangeLanguage() {
}
}
#endif
HaltGui();
ResetText();
currentLanguage = GCSettings.language;
ResumeGui();
}
/****************************************************************************