diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-10-05 23:42:19 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-10-05 23:42:19 +0300 |
commit | ad222ad525a69ff39a0c7a6120eb45e6bae3ce70 (patch) | |
tree | cf91cbf0cc629809bca3ab52f1bae0ea3fd5039d /MainForm.cs | |
parent | 100852f221b8f1b83c978d29c0cd56f54d7ffab8 (diff) |
Finally SNES patcher
Diffstat (limited to 'MainForm.cs')
-rw-r--r-- | MainForm.cs | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/MainForm.cs b/MainForm.cs index e3c9f857..13085ea7 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -162,7 +162,7 @@ namespace com.clusterrr.hakchi_gui enableAutofireToolStripMenuItem.Checked = ConfigIni.AutofireHack;
useXYOnClassicControllerAsAutofireABToolStripMenuItem.Checked = ConfigIni.AutofireXYHack;
upABStartOnSecondControllerToolStripMenuItem.Checked = ConfigIni.FcStart;
- compressGamesIfPossibleToolStripMenuItem.Checked = ConfigIni.Compress;
+ compressGamesToolStripMenuItem.Checked = ConfigIni.Compress;
disablePagefoldersToolStripMenuItem.Checked = (byte)ConfigIni.FoldersMode == 0;
automaticToolStripMenuItem.Checked = (byte)ConfigIni.FoldersMode == 2;
@@ -656,7 +656,7 @@ namespace com.clusterrr.hakchi_gui {
// Maybe type was changed? Need to reload games
if ((game as NesMiniApplication).Save())
- checkedListBoxGames.Items[i] = NesMiniApplication.FromDirectory((game as NesMiniApplication).Path);
+ checkedListBoxGames.Items[i] = NesMiniApplication.FromDirectory((game as NesMiniApplication).GamePath);
}
}
catch (Exception ex)
@@ -1320,7 +1320,7 @@ namespace com.clusterrr.hakchi_gui var game = checkedListBoxGames.Items[pos] as NesMiniApplication;
if (MessageBox.Show(this, string.Format(Resources.DeleteGame, game.Name), Resources.AreYouSure, MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == System.Windows.Forms.DialogResult.Yes)
{
- Directory.Delete(game.Path, true);
+ Directory.Delete(game.GamePath, true);
checkedListBoxGames.Items.RemoveAt(pos);
}
}
@@ -1450,10 +1450,10 @@ namespace com.clusterrr.hakchi_gui max90toolStripMenuItem.Checked = ConfigIni.MaxGamesPerFolder == 90;
max100toolStripMenuItem.Checked = ConfigIni.MaxGamesPerFolder == 100;
}
-
- private void compressGamesIfPossibleToolStripMenuItem_Click(object sender, EventArgs e)
+
+ private void compressGamesToolStripMenuItem_Click(object sender, EventArgs e)
{
- ConfigIni.Compress = compressGamesIfPossibleToolStripMenuItem.Checked;
+ ConfigIni.Compress = compressGamesToolStripMenuItem.Checked;
}
private void buttonShowGameGenieDatabase_Click(object sender, EventArgs e)
@@ -1713,6 +1713,7 @@ namespace com.clusterrr.hakchi_gui else
selected.Decompress();
selected.Save();
+ timerCalculateGames.Enabled = true;
ShowSelected();
}
catch (Exception ex)
|