Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/coolgirl-multicart/coolgirl-multirom-builder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2022-11-08 16:08:03 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2022-11-08 16:08:03 +0300
commitad0ea67a3fe9c6e1cc0f71bd9eea65a848fb3efa (patch)
tree0cf017ee6f0006a3535879f671bb52ffb3ec6790
parent705cd57b17039850e67cc405739df3e9b5681a8e (diff)
Changed exception
-rw-r--r--tools_sources/CoolgirlCombiner/Program.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools_sources/CoolgirlCombiner/Program.cs b/tools_sources/CoolgirlCombiner/Program.cs
index cbad2c6..88ea810 100644
--- a/tools_sources/CoolgirlCombiner/Program.cs
+++ b/tools_sources/CoolgirlCombiner/Program.cs
@@ -500,9 +500,9 @@ namespace com.clusterrr.Famicom.CoolGirl
if (usedSpace > optionMaxRomSize * 1024 * 1024)
problems.Add(new OutOfMemoryException($"ROM is too big: {Math.Round(usedSpace / 1024.0 / 1024.0, 3)}MB"));
if (games.Count > 256 * 6)
- problems.Add(new ArgumentOutOfRangeException("games", $"Too many ROMs: {games.Count} (maximum {256 * 6})"));
+ problems.Add(new InvalidDataException($"Too many ROMs: {games.Count} (maximum {256 * 6})"));
if (saveId > byte.MaxValue)
- problems.Add(new ArgumentOutOfRangeException("saves", $"Too many battery backed games: {saveId} (maximum {byte.MaxValue})"));
+ problems.Add(new InvalidDataException($"Too many battery backed games: {saveId} (maximum {byte.MaxValue})"));
int c = 0;
foreach (var game in sortedGames)