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:
-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