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-10 10:17:00 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-10-10 10:17:00 +0300
commitc69fe813667edb0c3161c00ec3adfddaced2e375 (patch)
tree7ae9e32130722cb5927cbdc52de9480a95cde51f /WorkerForm.cs
parentd54bdf45f08e0772eb53de7ea2e18b69924804b2 (diff)
Added GameGenie for SNES but it glitchy and commented out
Diffstat (limited to 'WorkerForm.cs')
-rw-r--r--WorkerForm.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/WorkerForm.cs b/WorkerForm.cs
index adc832c7..69697dc1 100644
--- a/WorkerForm.cs
+++ b/WorkerForm.cs
@@ -1173,7 +1173,7 @@ namespace com.clusterrr.hakchi_gui
stats.TotalGames++;
try
{
- if (gameCopy is ISupportsGameGenie && File.Exists((gameCopy as NesGame).GameGeniePath))
+ if (gameCopy is ISupportsGameGenie && File.Exists(gameCopy.GameGeniePath))
{
bool compressed = false;
if (gameCopy.DecompressPossible().Count() > 0)
@@ -1184,7 +1184,7 @@ namespace com.clusterrr.hakchi_gui
(gameCopy as ISupportsGameGenie).ApplyGameGenie();
if (compressed)
gameCopy.Compress();
- File.Delete((gameCopy as ISupportsGameGenie).GameGeniePath);
+ File.Delete((gameCopy as NesMiniApplication).GameGeniePath);
}
}
catch (GameGenieFormatException ex)