[SabreTools, DatFile, DatHeader] Remove 1G1R skeleton

This commit is contained in:
Matt Nadareski
2017-11-10 23:15:29 -08:00
parent 996c000bc0
commit 5ea3db2fe1
5 changed files with 2 additions and 119 deletions

View File

@@ -513,48 +513,6 @@ namespace SabreTools.Library.DatFiles
_datHeader.StripHash = value;
}
}
public bool OneGameOneRegion
{
get
{
if (_datHeader == null)
{
_datHeader = new DatHeader();
}
return _datHeader.OneGameOneRegion;
}
set
{
if (_datHeader == null)
{
_datHeader = new DatHeader();
}
_datHeader.OneGameOneRegion = value;
}
}
public List<string> Regions
{
get
{
if (_datHeader == null)
{
_datHeader = new DatHeader();
}
return _datHeader.Regions;
}
set
{
if (_datHeader == null)
{
_datHeader = new DatHeader();
}
_datHeader.Regions = value;
}
}
public SortedBy SortedBy
{
get { return _sortedBy; }
@@ -5477,9 +5435,6 @@ namespace SabreTools.Library.DatFiles
// Output the number of items we're going to be writing
Globals.Logger.User("A total of {0} items will be written out to '{1}'", Count, FileName);
// Filter the DAT by 1G1R rules, if we're supposed to
// TODO: Create 1G1R logic before write
// If we are removing hashes, do that now
if (StripHash != 0x0)
{

View File

@@ -35,8 +35,6 @@ namespace SabreTools.Library.DatFiles
private bool _sceneDateStrip;
private DedupeType _dedupeRoms;
private Hash _stripHash;
private bool _oneGameOneRegion;
private List<string> _regions;
// Data specific to the Miss DAT type
private bool _useGame;
@@ -164,24 +162,6 @@ namespace SabreTools.Library.DatFiles
get { return _stripHash; }
set { _stripHash = value; }
}
public bool OneGameOneRegion
{
get { return _oneGameOneRegion; }
set { _oneGameOneRegion = value; }
}
public List<string> Regions
{
get
{
if (_regions == null)
{
_regions = new List<string>();
}
return _regions;
}
set { _regions = value; }
}
// Data specific to the Miss DAT type
public bool UseGame
@@ -266,8 +246,6 @@ namespace SabreTools.Library.DatFiles
_sceneDateStrip = this._sceneDateStrip,
_dedupeRoms = this._dedupeRoms,
_stripHash = this._stripHash,
_oneGameOneRegion = this._oneGameOneRegion,
_regions = this._regions,
_useGame = this._useGame,
_prefix = this._prefix,