mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-31 11:55:37 +00:00
CDImage: Set SubQ control for lead-out to last index SubQ
This commit is contained in:
parent
9539ce032b
commit
c3c8df14ea
|
@ -259,8 +259,10 @@ void CDImage::AddLeadOutIndex()
|
|||
Index index = {};
|
||||
index.start_lba_on_disc = m_lba_count;
|
||||
index.length = LEAD_OUT_SECTOR_COUNT;
|
||||
index.track_number = 0xAA;
|
||||
index.track_number = LEAD_OUT_TRACK_NUMBER;
|
||||
index.index_number = 0;
|
||||
if (!m_indices.empty())
|
||||
index.control.bits = m_indices.back().control.bits;
|
||||
m_indices.push_back(index);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue