Skip to content

Commit 2dd7f48

Browse files
committed
CDROM: Don't skip pregap for CDDA
Fixes music looping in Treasure Gear.
1 parent 2264849 commit 2dd7f48

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/core/cdrom.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1875,10 +1875,6 @@ void CDROM::ProcessCDDASector(const u8* raw_sector, const CDImage::SubChannelQ&
18751875
Log_DevPrintf("Read sector %u as CDDA", m_current_lba);
18761876
m_secondary_status.playing_cdda = true;
18771877

1878-
// Skip the pregap, and don't report on it.
1879-
if (subq.index_number_bcd == 0)
1880-
return;
1881-
18821878
if (m_mode.report_audio)
18831879
{
18841880
const u8 frame_nibble = subq.absolute_frame_bcd >> 4;

0 commit comments

Comments
 (0)