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-08 03:15:27 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-10-08 03:15:27 +0300
commita2f31929bcbfe91b3dade80e0f7b63ca3a3adb9d (patch)
tree6774490dd5b51b487146abcbfefa455050c13c9e /WorkerForm.cs
parent1eb07e299750fdfa2d840d444adda4784f4a3f58 (diff)
Power leak fix
Diffstat (limited to 'WorkerForm.cs')
-rw-r--r--WorkerForm.cs11
1 files changed, 6 insertions, 5 deletions
diff --git a/WorkerForm.cs b/WorkerForm.cs
index 31733fde..032bf92f 100644
--- a/WorkerForm.cs
+++ b/WorkerForm.cs
@@ -126,11 +126,15 @@ namespace com.clusterrr.hakchi_gui
correctKernels[MainForm.ConsoleType.SNES] = new string[] {
"d76c2a091ebe7b4614589fc6954653a5", // SNES Mini (EUR)
"c2b57b550f35d64d1c6ce66f9b5180ce", // SNES Mini (EUR)
+ "0f890bc78cbd9ede43b83b015ba4c022", // SNES Mini (EUR)
"449b711238575763c6701f5958323d48", // SNES Mini (USA)
"5296e64818bf2d1dbdc6b594f3eefd17", // SNES Mini (USA)
"228967ab1035a347caa9c880419df487", // SNES Mini (USA)
};
- correctKernels[MainForm.ConsoleType.SuperFamicom] = new string[] { "632e179db63d9bcd42281f776a030c14" }; // Super Famicom Mini (JAP)
+ correctKernels[MainForm.ConsoleType.SuperFamicom] = new string[]
+ {
+ "632e179db63d9bcd42281f776a030c14", // Super Famicom Mini (JAP)
+ };
correctKeys[MainForm.ConsoleType.NES] = new string[] { "bb8f49e0ae5acc8d5f9b7fa40efbd3e7" };
correctKeys[MainForm.ConsoleType.SNES] = new string[] { "c5dbb6e29ea57046579cfd50b124c9e1" };
}
@@ -470,10 +474,7 @@ namespace com.clusterrr.hakchi_gui
// Lets try to autodetect console using kernel hash
var console = matchedKernels.First();
if (console != ConfigIni.ConsoleType)
- {
- ConfigIni.ConsoleType = console;
- Invoke(new Action(MainForm.SyncConsoleType));
- }
+ throw new Exception(Resources.InvalidConsoleSelected + " " + console);
}
Directory.CreateDirectory(Path.GetDirectoryName(KernelDumpPath));