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>2020-09-16 03:28:50 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2020-09-16 03:29:05 +0300
commit5d144bc1ed096cedcd5c68c1d0a932815442663d (patch)
tree750d78e9f87be77af4f5c2378f593f3a123a3bc0
parent24433cb83681c3f8e87b49d90b9743e04e930069 (diff)
Cleanup
-rw-r--r--NesFile.cs17
1 files changed, 0 insertions, 17 deletions
diff --git a/NesFile.cs b/NesFile.cs
index dbf9f29..6d0123a 100644
--- a/NesFile.cs
+++ b/NesFile.cs
@@ -1,9 +1,6 @@
using System;
using System.Collections.Generic;
using System.IO;
-using System.Net.NetworkInformation;
-using System.Runtime.InteropServices;
-using System.Security;
using System.Security.Cryptography;
namespace com.clusterrr.Famicom.Containers
@@ -90,12 +87,6 @@ namespace com.clusterrr.Famicom.Containers
/// Mirroring type
/// </summary>
public MirroringType Mirroring { get; set; } = MirroringType.Horizontal;
- /*
- /// <summary>
- /// TV system type
- /// </summary>
- public TvSystemType TvSystem { get; set; } = TvSystemType.Ntsc;
- */
/// <summary>
/// For non-homebrew NES/Famicom games, this field's value is always a function of the region in which a game was released (NES 2.0 only)
/// </summary>
@@ -136,13 +127,6 @@ namespace com.clusterrr.Famicom.Containers
Unknown_none = 0xff
};
- /*
- public enum TvSystemType {
- Ntsc = 0,
- Pal = 1
- };
- */
-
/// <summary>
/// Version of iNES format
/// </summary>
@@ -596,7 +580,6 @@ namespace com.clusterrr.Famicom.Containers
if (Console == ConsoleType.Extended)
throw new InvalidDataException("Invalid system type value: 3");
PrgRamSize = (uint)(header[8] == 0 ? 0x2000 : header[8] * 0x2000);
- //TvSystem = (TvSystemType)(header[9] & 1);
}
else if (Version == iNesVersion.NES20) // NES 2.0
{