CDImageDevice: Fix printing of track summary

This commit is contained in:
Connor McLaughlin 2021-11-22 23:58:08 +10:00
parent 13f1027f59
commit 827048eeda

View file

@ -255,8 +255,8 @@ bool CDImageDeviceWin32::Open(const char* filename, Common::Error* error)
static_cast<u32>(m_lba_count)); static_cast<u32>(m_lba_count));
for (u32 i = 0; i < m_tracks.size(); i++) for (u32 i = 0; i < m_tracks.size(); i++)
{ {
Log_DevPrintf(" Track %u: Start %u, length %u, mode %u, control 0x%02X", i, Log_DevPrintf(" Track %u: Start %u, length %u, mode %u, control 0x%02X", static_cast<u32>(m_tracks[i].track_number),
static_cast<u32>(m_tracks[i].track_number), static_cast<u32>(m_tracks[i].start_lba), static_cast<u32>(m_tracks[i].start_lba), static_cast<u32>(m_tracks[i].length),
static_cast<u32>(m_tracks[i].mode), static_cast<u32>(m_tracks[i].control.bits)); static_cast<u32>(m_tracks[i].mode), static_cast<u32>(m_tracks[i].control.bits));
} }
for (u32 i = 0; i < m_indices.size(); i++) for (u32 i = 0; i < m_indices.size(); i++)