diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-10-06 06:56:50 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-10-06 06:56:50 +0300 |
commit | 2ccb022b5e142c38b5dc4ce625845dfd2533c1ad (patch) | |
tree | 1bcdc436baac971466596c6e37894da04696d7ee /MainForm.cs | |
parent | 1c9388f8e7f7f5200e8a73d0690977337ee3bcce (diff) |
Translations and fixes
Diffstat (limited to 'MainForm.cs')
-rw-r--r-- | MainForm.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/MainForm.cs b/MainForm.cs index dcc524c0..e2c49725 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -257,7 +257,6 @@ namespace com.clusterrr.hakchi_gui {
try
{
- ConfigIni.CustomFlashed = true; // Just in case of new installation
// Trying to autodetect console type
var customFirmware = Clovershell.ExecuteSimple("[ -d /var/lib/hakchi/firmware/ ] && [ -f /var/lib/hakchi/firmware/*.hsqs ] && echo YES || echo NO");
if (customFirmware == "NO")
@@ -296,6 +295,9 @@ namespace com.clusterrr.hakchi_gui }
Invoke(new Action(SyncConsoleType));
}
+
+ ConfigIni.CustomFlashed = true; // Just in case of new installation
+
WorkerForm.GetMemoryStats();
new Thread(RecalculateSelectedGamesThread).Start();
@@ -537,10 +539,11 @@ namespace com.clusterrr.hakchi_gui {
ConfigIni.Language = langCodes[language];
SaveConfig();
+ lastConsoleType = ConsoleType.Unknown;
Thread.CurrentThread.CurrentUICulture = new CultureInfo(langCodes[language]);
this.Controls.Clear();
this.InitializeComponent();
- FormInitialize();
+ FormInitialize();
this.Invalidate(true);
};
item.Checked = Thread.CurrentThread.CurrentUICulture.Name.ToUpper() == langCodes[language].ToUpper();
|