Merge pull request #816 from Fledge68/master

- fixed crash when used as wiiflow plugin.
This commit is contained in:
askotx 2019-02-20 18:24:36 -07:00 committed by GitHub
commit d85c32f263
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();
}
/****************************************************************************