DiscIO: implement CISOBlob::GetDataSize()

This is a best-effort approach, since the CISO format does not save the
original file size.
This commit is contained in:
Tillmann Karras committed 2015-10-12 02:33:38 +02:00
1 parent 1a8e2e16e3
commit efe71e686b
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ CISOFileReader* CISOFileReader::Create(const std::string& filename)
u64 CISOFileReader::GetDataSize() const
{
return GetRawSize();
return CISO_MAP_SIZE * m_block_size;
}
u64 CISOFileReader::GetRawSize() const