mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-22 10:39:18 +01:00
fixed crash when used as wiiflow plugin.
This commit is contained in:
parent
9e0d835195
commit
19f8899759
@ -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();
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user