mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-02 13:57:14 -05:00
Wait for 0 threads on language switch
Updated credits too
This commit is contained in:
@@ -87,10 +87,9 @@ private void L_About_Click(object sender, EventArgs e)
|
||||
"Wild Editor (**WE): SciresM & Kaphotics" + Environment.NewLine +
|
||||
"Trainer Editor (**TE): SciresM, Kaphotics, and KazoWAR" + Environment.NewLine +
|
||||
"Personal Editor: SciresM" + Environment.NewLine +
|
||||
"Mega Evolution Editor (MEE): Huntereb & SciresM",
|
||||
|
||||
"After integrating standalone tools, the following editors were implemented:" + Environment.NewLine +
|
||||
"Evolutions, Moves, Items, Maison, and ExeFS Editors: Kaphotics",
|
||||
"Mega Evolution Editor (MEE): SciresM" + Environment.NewLine +
|
||||
"Evolutions, Moves, Items, Maison Editors: Kaphotics",
|
||||
"ExeFS Editors: Kaphotics (thanks Drayano and magical!)",
|
||||
|
||||
"Big thanks to the ProjectPokemon community!"
|
||||
);
|
||||
@@ -113,6 +112,8 @@ private void changeLanguage(object sender, EventArgs e)
|
||||
if (!GB_RomFS.Enabled) return;
|
||||
new Thread(() =>
|
||||
{
|
||||
// Let all other operations finish first (ie, if the user quickly switches languages on load)
|
||||
while (threads > 0) Thread.Sleep(50);
|
||||
// Gather the Text Language Strings
|
||||
updateStatus(String.Format("GARC Get: {0} @ {1}... ", "gametext", getGARCFileName("gametext")));
|
||||
threadGet(RomFS + getGARCFileName("gametext"), "gametext", true, true);
|
||||
|
||||
Reference in New Issue
Block a user