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
path: root/Apps
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-10-05 07:44:27 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-10-05 07:44:27 +0300
commit100852f221b8f1b83c978d29c0cd56f54d7ffab8 (patch)
treed6f194f509a92a56e21b693ec760435e44f6eb0d /Apps
parent01c8b9149f139648ed53fe175bbc955443c2ef01 (diff)
Fixes
Diffstat (limited to 'Apps')
-rw-r--r--Apps/AppTypeCollection.cs6
-rw-r--r--Apps/FdsGame.cs4
-rw-r--r--Apps/NesGame.cs4
3 files changed, 9 insertions, 5 deletions
diff --git a/Apps/AppTypeCollection.cs b/Apps/AppTypeCollection.cs
index a43ee78e..1ad25fab 100644
--- a/Apps/AppTypeCollection.cs
+++ b/Apps/AppTypeCollection.cs
@@ -27,7 +27,7 @@ namespace com.clusterrr.hakchi_gui
{
Class = typeof(NesGame),
Extensions = new string[] {".nes"},
- DefaultApps = new string[] {"/bin/clover-kachikachi-wr", "/bin/clover-kachikachi", "/bin/nes"},
+ DefaultApps = new string[] { "/bin/nes", "/bin/clover-kachikachi-wr", "/usr/bin/clover-kachikachi" },
Prefix = 'H',
DefaultCover = Resources.blank_nes
},
@@ -43,7 +43,7 @@ namespace com.clusterrr.hakchi_gui
{
Class = typeof(FdsGame),
Extensions = new string[] {".fds"},
- DefaultApps = new string[] {"/bin/clover-kachikachi-wr", "/bin/clover-kachikachi", "/bin/nes"},
+ DefaultApps = new string[] { "/bin/nes", "/bin/clover-kachikachi-wr", "/usr/bin/clover-kachikachi" },
Prefix = 'D',
DefaultCover = Resources.blank_fds
},
@@ -51,7 +51,7 @@ namespace com.clusterrr.hakchi_gui
{
Class = typeof(SnesGame),
Extensions = new string[] { ".sfc", ".smc", ".sfrom" },
- DefaultApps = new string[] {"/usr/bin/clover-canoe-shvc", "/bin/snes"},
+ DefaultApps = new string[] { "/bin/snes", "/usr/bin/clover-canoe-shvc", },
Prefix = 'U',
DefaultCover = Resources.blank_snes_us
},
diff --git a/Apps/FdsGame.cs b/Apps/FdsGame.cs
index f5072215..271391b1 100644
--- a/Apps/FdsGame.cs
+++ b/Apps/FdsGame.cs
@@ -37,7 +37,9 @@ namespace com.clusterrr.hakchi_gui
crc32 = CRC32(rawRomData);
// Try to find patch again, using new CRC
FindPatch(ref rawRomData, inputFileName, crc32);
- }
+ }
+ if (ConfigIni.ConsoleType == MainForm.ConsoleType.NES || ConfigIni.ConsoleType == MainForm.ConsoleType.Famicom)
+ application = "/bin/clover-kachikachi-wr";
args = DefaultArgs;
return true;
}
diff --git a/Apps/NesGame.cs b/Apps/NesGame.cs
index 66dc86a7..eb9e699c 100644
--- a/Apps/NesGame.cs
+++ b/Apps/NesGame.cs
@@ -68,7 +68,9 @@ namespace com.clusterrr.hakchi_gui
}
nesFile.CorrectRom();
crc32 = nesFile.CRC32;
- if (ConfigIni.ConsoleType != MainForm.ConsoleType.NES && ConfigIni.ConsoleType != MainForm.ConsoleType.Famicom)
+ if (ConfigIni.ConsoleType == MainForm.ConsoleType.NES || ConfigIni.ConsoleType == MainForm.ConsoleType.Famicom)
+ application = "/bin/clover-kachikachi-wr";
+ else
application = "/bin/nes";
//if (nesFile.Mapper == 71) nesFile.Mapper = 2; // games by Codemasters/Camerica - this is UNROM clone. One exception - Fire Hawk