fixed crash when used as wiiflow plugin.

This commit is contained in:
Daryl Borth 2019-02-20 18:45:11 -07:00
parent 9e0d835195
commit 19f8899759

View File

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