Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/hakchi2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-10-15 19:36:26 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-10-15 19:36:26 +0300
commita7662c9f614d53a3c9fc59ab6121801bd535af41 (patch)
treeacefad8047909c78b3b7b4f7c13f650ff5e1f403
parentb542b5c6189b125f58203c59f5325a584c931291 (diff)
Hotfixes
-rw-r--r--MainForm.Designer.cs1
-rw-r--r--MainForm.cs5
-rw-r--r--MainForm.resx3
-rw-r--r--Properties/AssemblyInfo.cs4
-rw-r--r--hakchi_gui.csproj4
5 files changed, 11 insertions, 6 deletions
diff --git a/MainForm.Designer.cs b/MainForm.Designer.cs
index 7136bbfb..17653bb5 100644
--- a/MainForm.Designer.cs
+++ b/MainForm.Designer.cs
@@ -1013,6 +1013,7 @@
// openDumpFileDialog
//
this.openDumpFileDialog.FileName = "...";
+ resources.ApplyResources(this.openDumpFileDialog, "openDumpFileDialog");
//
// listViewGames
//
diff --git a/MainForm.cs b/MainForm.cs
index fa522183..54dba91a 100644
--- a/MainForm.cs
+++ b/MainForm.cs
@@ -211,6 +211,7 @@ namespace com.clusterrr.hakchi_gui
var item = new ToolStripMenuItem();
item.Name = "folders" + f.ToString();
item.Text = f.ToString();
+ item.Tag = f;
if (f >= MaxGamesPerFolder)
item.Text += $" ({Resources.NotRecommended})";
item.Checked = ConfigIni.MaxGamesPerFolder == f;
@@ -218,7 +219,7 @@ namespace com.clusterrr.hakchi_gui
{
(maximumGamesPerFolderToolStripMenuItem.DropDownItems.Find("folders" + ConfigIni.MaxGamesPerFolder.ToString(), true).First()
as ToolStripMenuItem).Checked = false;
- ConfigIni.MaxGamesPerFolder = f;
+ ConfigIni.MaxGamesPerFolder = (byte)((sender as ToolStripMenuItem).Tag);
(maximumGamesPerFolderToolStripMenuItem.DropDownItems.Find("folders" + ConfigIni.MaxGamesPerFolder.ToString(), true).First()
as ToolStripMenuItem).Checked = true;
};
@@ -1160,7 +1161,7 @@ namespace com.clusterrr.hakchi_gui
private void dumpNANDCPartitionToolStripMenuItem_Click(object sender, EventArgs e)
{
if (RequirePatchedKernel() == DialogResult.No) return;
- if (DoNandCFlash())
+ if (DoNandCDump())
MessageBox.Show(Resources.NandDumped, Resources.Done, MessageBoxButtons.OK, MessageBoxIcon.Information);
}
diff --git a/MainForm.resx b/MainForm.resx
index 815eafcf..f6a51af3 100644
--- a/MainForm.resx
+++ b/MainForm.resx
@@ -1457,6 +1457,9 @@
<metadata name="openDumpFileDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>164, 17</value>
</metadata>
+ <data name="openDumpFileDialog.Title" xml:space="preserve">
+ <value>Select dump filename</value>
+ </data>
<data name="listViewGames.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>None</value>
</data>
diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs
index d19a633c..7d1d7eda 100644
--- a/Properties/AssemblyInfo.cs
+++ b/Properties/AssemblyInfo.cs
@@ -33,6 +33,6 @@ using System.Resources;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("2.0.21.51")]
-[assembly: AssemblyFileVersion("2.0.21.51")]
+[assembly: AssemblyVersion("2.0.21.53")]
+[assembly: AssemblyFileVersion("2.0.21.53")]
[assembly: NeutralResourcesLanguageAttribute("en-US")]
diff --git a/hakchi_gui.csproj b/hakchi_gui.csproj
index 8ffc53e7..38fdd0e5 100644
--- a/hakchi_gui.csproj
+++ b/hakchi_gui.csproj
@@ -31,8 +31,8 @@
<PublisherName>Alexey %27Cluster%27 Avdyukhin</PublisherName>
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
<WebPage>index.html</WebPage>
- <ApplicationRevision>51</ApplicationRevision>
- <ApplicationVersion>2.0.21.51</ApplicationVersion>
+ <ApplicationRevision>53</ApplicationRevision>
+ <ApplicationVersion>2.0.21.53</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<CreateDesktopShortcut>true</CreateDesktopShortcut>
<PublishWizardCompleted>true</PublishWizardCompleted>