summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/CISOBlob.cpp
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2015-09-17 10:58:38 +0200
committerTillmann Karras <tilkax@gmail.com>2015-10-12 02:33:38 +0200
commitefe71e686b8b89e87e2c10237e4d33bc4bfdf54f (patch)
tree3d0530888f701162ffcfbfc663192f1081811bec /Source/Core/DiscIO/CISOBlob.cpp
parent1a8e2e16e36caa69a6d8fef5bda8924e2e758255 (diff)
DiscIO: implement CISOBlob::GetDataSize()
This is a best-effort approach, since the CISO format does not save the original file size.
Diffstat (limited to 'Source/Core/DiscIO/CISOBlob.cpp')
-rw-r--r--Source/Core/DiscIO/CISOBlob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/CISOBlob.cpp b/Source/Core/DiscIO/CISOBlob.cpp
index fa9b30e2f5..f9947d0e6c 100644
--- a/Source/Core/DiscIO/CISOBlob.cpp
+++ b/Source/Core/DiscIO/CISOBlob.cpp
@@ -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