mirror of
https://github.com/aaru-dps/RedBookPlayer.git
synced 2025-12-16 19:24:41 +00:00
Fix last access modifier
This commit is contained in:
@@ -99,7 +99,7 @@ namespace RedBookPlayer.Common.Discs
|
||||
public override ulong CurrentSector
|
||||
{
|
||||
get => _currentSector;
|
||||
set
|
||||
protected set
|
||||
{
|
||||
// Unset image means we can't do anything
|
||||
if(_image == null)
|
||||
|
||||
@@ -26,8 +26,7 @@ namespace RedBookPlayer.Common.Discs
|
||||
/// <summary>
|
||||
/// Current sector number
|
||||
/// </summary>
|
||||
/// TODO: Maske this `protected set`
|
||||
public abstract ulong CurrentSector { get; set; }
|
||||
public abstract ulong CurrentSector { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// Represents the sector starting the section
|
||||
@@ -165,6 +164,12 @@ namespace RedBookPlayer.Common.Discs
|
||||
/// </summary>
|
||||
public abstract void SetTotalIndexes();
|
||||
|
||||
/// <summary>
|
||||
/// Set the current sector
|
||||
/// </summary>
|
||||
/// <param name="sector">New sector number to use</param>
|
||||
public void SetCurrentSector(ulong sector) => CurrentSector = sector;
|
||||
|
||||
/// <summary>
|
||||
/// Load the desired track, if possible
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user