CDImage: Support sub-images, use subimages for m3u
This commit is contained in:
parent
573aa6d9cc
commit
50d712c3fe
23 changed files with 442 additions and 311 deletions
|
|
@ -2389,7 +2389,16 @@ void CDROM::DrawDebugWindow()
|
|||
const CDImage* media = m_reader.GetMedia();
|
||||
const CDImage::Position disc_position = CDImage::Position::FromLBA(m_current_lba);
|
||||
|
||||
ImGui::Text("Filename: %s", media->GetFileName().c_str());
|
||||
if (media->HasSubImages())
|
||||
{
|
||||
ImGui::Text("Filename: %s [Subimage %u of %u]", media->GetFileName().c_str(), media->GetCurrentSubImage() + 1u,
|
||||
media->GetSubImageCount());
|
||||
}
|
||||
else
|
||||
{
|
||||
ImGui::Text("Filename: %s", media->GetFileName().c_str());
|
||||
}
|
||||
|
||||
ImGui::Text("Disc Position: MSF[%02u:%02u:%02u] LBA[%u]", disc_position.minute, disc_position.second,
|
||||
disc_position.frame, disc_position.ToLBA());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue