mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
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:
parent
1a8e2e16e3
commit
efe71e686b
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue