CDImage: Support loading subchannel from LSD files

This commit is contained in:
Stenzek
2023-11-15 19:05:21 +10:00
parent 7aa4180e17
commit bc485ee55b
9 changed files with 71 additions and 23 deletions

View File

@ -115,7 +115,7 @@ bool CDImageMemory::CopyImage(CDImage* image, ProgressCallback* progress)
m_filename = image->GetFileName();
m_lba_count = image->GetLBACount();
m_sbi.LoadSBI(Path::ReplaceExtension(m_filename, "sbi").c_str());
m_sbi.LoadFromImagePath(m_filename);
return Seek(1, Position{0, 0, 0});
}