mirror of
https://github.com/aaru-dps/RedBookPlayer.git
synced 2025-12-16 19:24:41 +00:00
Only skip to previous track if within the first second of the current track
This commit is contained in:
@@ -343,10 +343,13 @@ namespace RedBookPlayer
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (CurrentSector < (ulong)Image.Tracks[CurrentTrack].Indexes[1] + 75)
|
||||||
|
{
|
||||||
if (--CurrentTrack < 0)
|
if (--CurrentTrack < 0)
|
||||||
{
|
{
|
||||||
CurrentTrack = Image.Tracks.Count - 1;
|
CurrentTrack = Image.Tracks.Count - 1;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
LoadTrack(CurrentTrack);
|
LoadTrack(CurrentTrack);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user