diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-10-02 23:14:43 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-10-02 23:14:43 +0300 |
commit | 3f34fe864dc1797084d768422709e39c6ecaecea (patch) | |
tree | cb03cd495bfb43b77ae9fd30216f94cba25101b5 /ConfigIni.cs | |
parent | d104914142b9904e39d6597a738be5284c504f35 (diff) |
One more step to SNES Mini, save-state manager fixed
Diffstat (limited to 'ConfigIni.cs')
-rw-r--r-- | ConfigIni.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ConfigIni.cs b/ConfigIni.cs index 211c7c2d..e0fa1649 100644 --- a/ConfigIni.cs +++ b/ConfigIni.cs @@ -17,7 +17,7 @@ namespace com.clusterrr.hakchi_gui public static bool AutofireXYHack = false;
public static bool FcStart = false;
public static byte AntiArmetLevel = 0;
- public static byte ConsoleType = 0;
+ public static MainForm.ConsoleType ConsoleType = MainForm.ConsoleType.NES;
public static byte MaxGamesPerFolder = 30;
public static NesMenuCollection.SplitStyle FoldersMode = NesMenuCollection.SplitStyle.Original_Auto;
public static SelectButtonsForm.NesButtons ResetCombination = SelectButtonsForm.NesButtons.Down | SelectButtonsForm.NesButtons.Select;
@@ -97,7 +97,7 @@ namespace com.clusterrr.hakchi_gui ResetCombination = (SelectButtonsForm.NesButtons)byte.Parse(value);
break;
case "consoletype":
- ConsoleType = byte.Parse(value);
+ ConsoleType = (MainForm.ConsoleType)byte.Parse(value);
break;
case "extracommandlinearguments":
ExtraCommandLineArguments = value;
@@ -146,7 +146,7 @@ namespace com.clusterrr.hakchi_gui configLines.Add(string.Format("FirstRun={0}", FirstRun));
configLines.Add(string.Format("AntiArmetLevel={0}", AntiArmetLevel));
configLines.Add(string.Format("ResetCombination={0}", (byte)ResetCombination));
- configLines.Add(string.Format("ConsoleType={0}", ConsoleType));
+ configLines.Add(string.Format("ConsoleType={0}", (byte)ConsoleType));
configLines.Add(string.Format("ExtraCommandLineArguments={0}", ExtraCommandLineArguments));
configLines.Add(string.Format("FcStart={0}", FcStart));
configLines.Add(string.Format("FoldersMode={0}", (byte)FoldersMode));
|