Don't build NandReaderGui by default

This commit is contained in:
Alex Barney 2018-08-28 13:50:14 -05:00
parent 7f016f875b
commit 944245fb8b
2 changed files with 0 additions and 14 deletions

View file

@ -35,8 +35,6 @@ namespace DiscUtils.Fat
private readonly List<uint> _knownClusters; private readonly List<uint> _knownClusters;
private readonly ClusterReader _reader; private readonly ClusterReader _reader;
private bool _atEOF;
private uint _currentCluster; private uint _currentCluster;
private uint _length; private uint _length;
private long _position; private long _position;
@ -96,7 +94,6 @@ namespace DiscUtils.Fat
if (value >= 0) if (value >= 0)
{ {
_position = value; _position = value;
_atEOF = false;
} }
else else
{ {
@ -136,7 +133,6 @@ namespace DiscUtils.Fat
{ {
if ((_position == _length || _position == DetectLength())) if ((_position == _length || _position == DetectLength()))
{ {
_atEOF = true;
return 0; return 0;
} }
throw new IOException("Attempt to read beyond known clusters"); throw new IOException("Attempt to read beyond known clusters");
@ -162,11 +158,6 @@ namespace DiscUtils.Fat
} }
} }
if (numRead == 0)
{
_atEOF = true;
}
return numRead; return numRead;
} }
@ -183,7 +174,6 @@ namespace DiscUtils.Fat
} }
_position = newPos; _position = newPos;
_atEOF = false;
return newPos; return newPos;
} }
@ -284,8 +274,6 @@ namespace DiscUtils.Fat
{ {
_fat.Flush(); _fat.Flush();
} }
_atEOF = false;
} }
/// <summary> /// <summary>

View file

@ -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.ActiveCfg = Release|Any CPU
{9889C467-284F-4061-B4DB-EC94051C29C0}.Release|Any CPU.Build.0 = 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.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.ActiveCfg = Release|Any CPU
{3CBD38B0-6575-4768-8E94-A8AF2D2C9F43}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE