mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-27 08:05:41 +00:00
CDROM: Don't skip pregap for CDDA
Fixes music looping in Treasure Gear.
This commit is contained in:
parent
2264849151
commit
2dd7f48d97
|
@ -1875,10 +1875,6 @@ void CDROM::ProcessCDDASector(const u8* raw_sector, const CDImage::SubChannelQ&
|
||||||
Log_DevPrintf("Read sector %u as CDDA", m_current_lba);
|
Log_DevPrintf("Read sector %u as CDDA", m_current_lba);
|
||||||
m_secondary_status.playing_cdda = true;
|
m_secondary_status.playing_cdda = true;
|
||||||
|
|
||||||
// Skip the pregap, and don't report on it.
|
|
||||||
if (subq.index_number_bcd == 0)
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (m_mode.report_audio)
|
if (m_mode.report_audio)
|
||||||
{
|
{
|
||||||
const u8 frame_nibble = subq.absolute_frame_bcd >> 4;
|
const u8 frame_nibble = subq.absolute_frame_bcd >> 4;
|
||||||
|
|
Loading…
Reference in a new issue