disc-tidy
This commit is contained in:
parent
90233868cf
commit
cd878508f5
|
@ -119,10 +119,16 @@ namespace BizHawk.DiscSystem
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Main API to determine how many sectors are available on the disc.
|
||||
/// This counts from absolute sector 0 to the final sector available.
|
||||
/// Main API to determine how many LBAs are available on the disc.
|
||||
/// This counts from LBA 0 to the final sector available.
|
||||
/// </summary>
|
||||
public int LBACount { get { return Sectors.Count; } }
|
||||
public int LBACount { get { return ABACount - 150; } }
|
||||
|
||||
/// <summary>
|
||||
/// Main API to determine how many ABAs (sectors) are available on the disc.
|
||||
/// This counts from ABA 0 to the final sector available.
|
||||
/// </summary>
|
||||
public int ABACount { get { return Sectors.Count; } }
|
||||
|
||||
/// <summary>
|
||||
/// indicates whether this disc took significant work to load from the hard drive (i.e. decoding of ECM or audio data)
|
||||
|
|
|
@ -62,6 +62,11 @@ namespace BizHawk.DiscSystem
|
|||
public int Num;
|
||||
public int ABA, TrackNum, IndexNum;
|
||||
public Track Track;
|
||||
|
||||
public int LBA
|
||||
{
|
||||
get { return ABA - 150; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue