diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-10-10 10:17:00 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-10-10 10:17:00 +0300 |
commit | c69fe813667edb0c3161c00ec3adfddaced2e375 (patch) | |
tree | 7ae9e32130722cb5927cbdc52de9480a95cde51f /WorkerForm.cs | |
parent | d54bdf45f08e0772eb53de7ea2e18b69924804b2 (diff) |
Added GameGenie for SNES but it glitchy and commented out
Diffstat (limited to 'WorkerForm.cs')
-rw-r--r-- | WorkerForm.cs | 4 |
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)
|