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--FdsFile.cs2
-rw-r--r--NesFile.cs3
-rw-r--r--UnifFile.cs2
3 files changed, 4 insertions, 3 deletions
diff --git a/FdsFile.cs b/FdsFile.cs
index ff8a48f..99fe082 100644
--- a/FdsFile.cs
+++ b/FdsFile.cs
@@ -5,7 +5,7 @@ using System.Linq;
namespace com.clusterrr.Famicom.Containers
{
/// <summary>
- /// Full .fds file, disk sides collection
+ /// File container for FDS games, disk sides collection
/// </summary>
public class FdsFile
{
diff --git a/NesFile.cs b/NesFile.cs
index 7ea1ad2..c6c9f52 100644
--- a/NesFile.cs
+++ b/NesFile.cs
@@ -742,10 +742,11 @@ namespace com.clusterrr.Famicom.Containers
chrSizePadded = header[5] * 0x2000UL;
switch (Mirroring)
{
- case MirroringType.Unknown:
+ case MirroringType.Unknown: // mirroring field ignored
case MirroringType.Horizontal:
case MirroringType.Vertical:
case MirroringType.FourScreenVram:
+ case MirroringType.MapperControlled: // mirroring field ignored
break;
default:
throw new InvalidDataException($"{Mirroring} mirroring is not supported by iNES");
diff --git a/UnifFile.cs b/UnifFile.cs
index f098468..f794d2d 100644
--- a/UnifFile.cs
+++ b/UnifFile.cs
@@ -21,7 +21,7 @@ namespace com.clusterrr.Famicom.Containers
/// <summary>
/// UNIF version
/// </summary>
- public int Version = 7;
+ public int Version { get; set; } = 7;
/// <summary>
/// Get/set UNIF field