CDImage: Fix pregap not going to 00:00:00

This commit is contained in:
Connor McLaughlin 2021-05-27 03:46:01 +10:00
parent 28b8cb5bc6
commit e8e8b910a5

View file

@ -400,7 +400,7 @@ void CDImage::GenerateSubChannelQ(SubChannelQ* subq, const Index& index, u32 ind
if (index.is_pregap)
{
// position should count down to the end of the pregap
relative_position = Position::FromLBA(index.length - index_offset);
relative_position = Position::FromLBA(index.length - index_offset - 1);
}
else
{