|
|
|
@ -18,6 +18,7 @@ public:
|
|
|
|
|
bool CopyImage(CDImage* image, ProgressCallback* progress);
|
|
|
|
|
|
|
|
|
|
bool ReadSubChannelQ(SubChannelQ* subq) override;
|
|
|
|
|
bool HasNonStandardSubchannel() const override;
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
bool ReadSectorFromIndex(void* buffer, const Index& index, LBA lba_in_index) override;
|
|
|
|
@ -123,6 +124,11 @@ bool CDImageMemory::ReadSubChannelQ(SubChannelQ* subq)
|
|
|
|
|
return CDImage::ReadSubChannelQ(subq);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool CDImageMemory::HasNonStandardSubchannel() const
|
|
|
|
|
{
|
|
|
|
|
return (m_sbi.GetReplacementSectorCount() > 0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool CDImageMemory::ReadSectorFromIndex(void* buffer, const Index& index, LBA lba_in_index)
|
|
|
|
|
{
|
|
|
|
|
DebugAssert(index.file_index == 0);
|
|
|
|
|