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,9 +343,12 @@ namespace RedBookPlayer
|
||||
return;
|
||||
}
|
||||
|
||||
if (--CurrentTrack < 0)
|
||||
if (CurrentSector < (ulong)Image.Tracks[CurrentTrack].Indexes[1] + 75)
|
||||
{
|
||||
CurrentTrack = Image.Tracks.Count - 1;
|
||||
if (--CurrentTrack < 0)
|
||||
{
|
||||
CurrentTrack = Image.Tracks.Count - 1;
|
||||
}
|
||||
}
|
||||
|
||||
LoadTrack(CurrentTrack);
|
||||
|
||||
Reference in New Issue
Block a user