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 12:23:33 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2022-11-04 12:23:33 +0300
commiteb73a679501f985009affe7ac7407bd9fd9c0987 (patch)
treee79f88b9c7af193d2ed92a36031241097bea74f0
parentc65534e13f721b20a5d0db001dd5fb686d15c50a (diff)
README fix
-rw-r--r--NesContainers.csproj7
-rw-r--r--UnifFile.cs2
2 files changed, 8 insertions, 1 deletions
diff --git a/NesContainers.csproj b/NesContainers.csproj
index fee36c1..d047771 100644
--- a/NesContainers.csproj
+++ b/NesContainers.csproj
@@ -18,4 +18,11 @@
<DocumentationFile>NesContainers.xml</DocumentationFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
+
+ <ItemGroup>
+ <None Update="README.md">
+ <Pack>True</Pack>
+ <PackagePath>\</PackagePath>
+ </None>
+ </ItemGroup>
</Project>
diff --git a/UnifFile.cs b/UnifFile.cs
index f794d2d..921edec 100644
--- a/UnifFile.cs
+++ b/UnifFile.cs
@@ -41,7 +41,7 @@ namespace com.clusterrr.Famicom.Containers
if (value == null && fields.ContainsKey(key))
fields.Remove(key);
else
- fields[key] = value.ToArray();
+ fields[key] = (value ?? new byte[0]).ToArray();
}
}