mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-12-24 18:21:50 +01:00
- fixed crash when used as wiiflow plugin.
This commit is contained in:
parent
b66acdf476
commit
1a35f03d47
@ -138,7 +138,11 @@ static void ResetText()
|
|||||||
LoadLanguage();
|
LoadLanguage();
|
||||||
|
|
||||||
if(mainWindow)
|
if(mainWindow)
|
||||||
|
{
|
||||||
|
HaltGui();
|
||||||
mainWindow->ResetText();
|
mainWindow->ResetText();
|
||||||
|
ResumeGui();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int currentLanguage = -1;
|
static int currentLanguage = -1;
|
||||||
@ -187,10 +191,8 @@ void ChangeLanguage() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
HaltGui();
|
|
||||||
ResetText();
|
ResetText();
|
||||||
currentLanguage = GCSettings.language;
|
currentLanguage = GCSettings.language;
|
||||||
ResumeGui();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
Loading…
Reference in New Issue
Block a user