mirror of
https://github.com/dborth/vbagx.git
synced 2025-02-16 18:59:12 +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();
|
LoadLanguage();
|
||||||
|
|
||||||
if(mainWindow)
|
if(mainWindow)
|
||||||
|
{
|
||||||
|
HaltGui();
|
||||||
mainWindow->ResetText();
|
mainWindow->ResetText();
|
||||||
|
ResumeGui();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int currentLanguage = -1;
|
static int currentLanguage = -1;
|
||||||
@ -169,10 +173,8 @@ void ChangeLanguage() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
HaltGui();
|
|
||||||
ResetText();
|
ResetText();
|
||||||
currentLanguage = GCSettings.language;
|
currentLanguage = GCSettings.language;
|
||||||
ResumeGui();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
Loading…
x
Reference in New Issue
Block a user