mirror of
https://github.com/dborth/fceugx.git
synced 2024-10-31 22:45:05 +01:00
fixed crash when used as wiiflow plugin.
This commit is contained in:
parent
68e04d5584
commit
8421d23baa
@ -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();
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user