mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile, DatStats] Stats update; slight renaming
This commit is contained in:
@@ -26,6 +26,9 @@ namespace SabreTools.Library.DatFiles
|
||||
private long _romCount = 0;
|
||||
private long _sampleCount = 0;
|
||||
|
||||
// Special count only used by statistics output
|
||||
private long _gameCount = 0;
|
||||
|
||||
// Total reported size
|
||||
private long _totalSize = 0;
|
||||
|
||||
@@ -86,6 +89,13 @@ namespace SabreTools.Library.DatFiles
|
||||
set { _sampleCount = value; }
|
||||
}
|
||||
|
||||
// Special count only used by statistics output
|
||||
public long GameCount
|
||||
{
|
||||
get { return _gameCount; }
|
||||
set { _gameCount = value; }
|
||||
}
|
||||
|
||||
// Total reported size
|
||||
public long TotalSize
|
||||
{
|
||||
@@ -231,6 +241,8 @@ namespace SabreTools.Library.DatFiles
|
||||
_romCount += stats.RomCount;
|
||||
_sampleCount += stats.SampleCount;
|
||||
|
||||
_gameCount += stats.GameCount;
|
||||
|
||||
_totalSize += stats.TotalSize;
|
||||
|
||||
// Individual hash counts
|
||||
@@ -327,6 +339,8 @@ namespace SabreTools.Library.DatFiles
|
||||
_romCount = 0;
|
||||
_sampleCount = 0;
|
||||
|
||||
_gameCount = 0;
|
||||
|
||||
_totalSize = 0;
|
||||
|
||||
_crcCount = 0;
|
||||
|
||||
Reference in New Issue
Block a user