diff options
Diffstat (limited to 'NesTiler/Program.cs')
-rw-r--r-- | NesTiler/Program.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NesTiler/Program.cs b/NesTiler/Program.cs index 09e6519..852cbc1 100644 --- a/NesTiler/Program.cs +++ b/NesTiler/Program.cs @@ -225,7 +225,7 @@ namespace com.clusterrr.Famicom.NesTiler if (calculatedPalettes.Count > maxCalculatedPaletteCount && !c.Lossy)
{
- throw new ArgumentOutOfRangeException($"Can't fit {calculatedPalettes.Count} palettes, {maxCalculatedPaletteCount} is maximum.");
+ throw new InvalidOperationException($"Can't fit {calculatedPalettes.Count} palettes, {maxCalculatedPaletteCount} is maximum.");
}
// Select palettes
|