CDImage: Set data bit in Q subchannel for bin images

This commit is contained in:
Connor McLaughlin 2019-11-13 16:28:43 +10:00
parent 8e06f86db8
commit 525bbf48d7
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ bool CDImageBin::Open(const char* filename)
SubChannelQ::Control control = {};
TrackMode mode = TrackMode::Mode2Raw;
control.data = mode != TrackMode::Audio;
// Two seconds default pregap.
const u32 pregap_frames = 2 * FRAMES_PER_SECOND;