From 944245fb8bc3935b65413e54007357dd997dddb7 Mon Sep 17 00:00:00 2001 From: Alex Barney Date: Tue, 28 Aug 2018 13:50:14 -0500 Subject: [PATCH] Don't build NandReaderGui by default --- libhac.Nand/DiscUtils.Fat/ClusterStream.cs | 12 ------------ libhac.sln | 2 -- 2 files changed, 14 deletions(-) diff --git a/libhac.Nand/DiscUtils.Fat/ClusterStream.cs b/libhac.Nand/DiscUtils.Fat/ClusterStream.cs index 97167e58..f0756596 100644 --- a/libhac.Nand/DiscUtils.Fat/ClusterStream.cs +++ b/libhac.Nand/DiscUtils.Fat/ClusterStream.cs @@ -35,8 +35,6 @@ namespace DiscUtils.Fat private readonly List _knownClusters; private readonly ClusterReader _reader; - private bool _atEOF; - private uint _currentCluster; private uint _length; private long _position; @@ -96,7 +94,6 @@ namespace DiscUtils.Fat if (value >= 0) { _position = value; - _atEOF = false; } else { @@ -136,7 +133,6 @@ namespace DiscUtils.Fat { if ((_position == _length || _position == DetectLength())) { - _atEOF = true; return 0; } throw new IOException("Attempt to read beyond known clusters"); @@ -162,11 +158,6 @@ namespace DiscUtils.Fat } } - if (numRead == 0) - { - _atEOF = true; - } - return numRead; } @@ -183,7 +174,6 @@ namespace DiscUtils.Fat } _position = newPos; - _atEOF = false; return newPos; } @@ -284,8 +274,6 @@ namespace DiscUtils.Fat { _fat.Flush(); } - - _atEOF = false; } /// diff --git a/libhac.sln b/libhac.sln index 923d9c16..f5c66c78 100644 --- a/libhac.sln +++ b/libhac.sln @@ -36,9 +36,7 @@ Global {9889C467-284F-4061-B4DB-EC94051C29C0}.Release|Any CPU.ActiveCfg = Release|Any CPU {9889C467-284F-4061-B4DB-EC94051C29C0}.Release|Any CPU.Build.0 = Release|Any CPU {3CBD38B0-6575-4768-8E94-A8AF2D2C9F43}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3CBD38B0-6575-4768-8E94-A8AF2D2C9F43}.Debug|Any CPU.Build.0 = Debug|Any CPU {3CBD38B0-6575-4768-8E94-A8AF2D2C9F43}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3CBD38B0-6575-4768-8E94-A8AF2D2C9F43}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE