diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-01-25 14:16:58 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-01-25 14:16:58 +0300 |
commit | 5dc67c2d6c0aa1c156abcce8bbf37cce09ad6421 (patch) | |
tree | 70f94462a6bf5a32f0cd9ebc3a90d070936cb929 /ConfigIni.cs | |
parent | 71adfb785a91fc65f1462a8b48d2ebfa002f4199 (diff) |
Folders/pages support! No more games limit.
Diffstat (limited to 'ConfigIni.cs')
-rw-r--r-- | ConfigIni.cs | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/ConfigIni.cs b/ConfigIni.cs index a8ca1010..a1405d07 100644 --- a/ConfigIni.cs +++ b/ConfigIni.cs @@ -18,11 +18,12 @@ namespace com.clusterrr.hakchi_gui public static bool ResetHack = true;
public static bool AutofireHack = false;
public static bool RemoveThumbnails = false;
- public static bool EightBitPngCompression = true;
+ public static bool EightBitPngCompression = false;
public static bool FcStart = false;
public static bool DisableMusic = false;
public static byte AntiArmetLevel = 0;
public static byte ConsoleType = 0;
+ public static byte MaxGamesPerFolder = 35;
public static SelectButtonsForm.NesButtons ResetCombination = SelectButtonsForm.NesButtons.Down | SelectButtonsForm.NesButtons.Select;
public static Dictionary<string, string> Presets = new Dictionary<string, string>();
public static string ExtraCommandLineArguments = "";
@@ -98,6 +99,9 @@ namespace com.clusterrr.hakchi_gui case "disablemusic":
DisableMusic = !value.ToLower().Equals("false");
break;
+ case "maxgamesperfolder":
+ MaxGamesPerFolder = byte.Parse(value);
+ break;
}
break;
case "presets":
@@ -127,10 +131,11 @@ namespace com.clusterrr.hakchi_gui configLines.Add(string.Format("ConsoleType={0}", ConsoleType));
configLines.Add(string.Format("ExtraCommandLineArguments={0}", ExtraCommandLineArguments));
configLines.Add(string.Format("FcStart={0}", FcStart));
- configLines.Add(string.Format("DisableMusic={0}", DisableMusic));
+ configLines.Add(string.Format("DisableMusic={0}", DisableMusic));
+ configLines.Add(string.Format("MaxGamesPerFolder={0}", MaxGamesPerFolder));
- configLines.Add("[Presets]");
configLines.Add("");
+ configLines.Add("[Presets]");
foreach (var preset in Presets.Keys)
{
configLines.Add(string.Format("{0}={1}", preset, Presets[preset]));
|