CDImage: Only add implicit two seconds pregap for track 1
This commit is contained in:
parent
faa9e59f61
commit
1cc3e4d5f2
2 changed files with 3 additions and 3 deletions
|
|
@ -155,7 +155,7 @@ const CDImage::Index* CDImage::GetIndexForDiscPosition(LBA pos)
|
|||
continue;
|
||||
|
||||
const LBA index_offset = pos - index.start_lba_on_disc;
|
||||
if (pos >= index.length)
|
||||
if (index_offset >= index.length)
|
||||
continue;
|
||||
|
||||
return &index;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue