From c69fe813667edb0c3161c00ec3adfddaced2e375 Mon Sep 17 00:00:00 2001 From: Alexey 'Cluster' Avdyukhin Date: Tue, 10 Oct 2017 10:17:00 +0300 Subject: Added GameGenie for SNES but it glitchy and commented out --- WorkerForm.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'WorkerForm.cs') 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) -- cgit v1.2.3