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

github.com/ClusterM/nes-containers.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-04 16:22:41 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2022-11-04 16:22:41 +0300
commiteded7b3c27dd895a855ce710b1eb24d9d712bc2b (patch)
tree87aedc5709aee40f4fa7748a3ad649b7bf9de1be
parent0447c93479c398bb7b6cd3fb55a3efd94b87195f (diff)
Minor fix
-rw-r--r--UnifFile.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/UnifFile.cs b/UnifFile.cs
index 58d25bb..a0cb98c 100644
--- a/UnifFile.cs
+++ b/UnifFile.cs
@@ -34,7 +34,7 @@ namespace com.clusterrr.Famicom.Containers
get
{
if (key.Length != 4) throw new ArgumentException("UNIF data block key must be 4 characters long");
- if (!fields.ContainsKey(key)) throw new IndexOutOfRangeException($"There is not {key} field");
+ if (!ContainsField(key)) throw new IndexOutOfRangeException($"There is no {key} field");
return Array.AsReadOnly(fields[key]);
}
set