summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeGC.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2015-09-26 15:24:29 +0200
committerJosJuice <josjuice@gmail.com>2015-09-26 15:24:29 +0200
commit6935d281128ea78169ecde44e869f83a7b67ddb8 (patch)
tree9ca5050250965d061534c82258120bf9b3683e7a /Source/Core/DiscIO/VolumeGC.cpp
parent94ee720a0745939874ff4a663fe071c847369c67 (diff)
Display all compressed formats in blue in GUI
In the past, only GCZ was shown as compressed, not CISO and WBFS.
Diffstat (limited to 'Source/Core/DiscIO/VolumeGC.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeGC.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/DiscIO/VolumeGC.cpp b/Source/Core/DiscIO/VolumeGC.cpp
index e0d17f17ee..319955a133 100644
--- a/Source/Core/DiscIO/VolumeGC.cpp
+++ b/Source/Core/DiscIO/VolumeGC.cpp
@@ -168,6 +168,11 @@ std::string CVolumeGC::GetApploaderDate() const
return DecodeString(date);
}
+bool CVolumeGC::IsCompressed() const
+{
+ return m_pReader ? m_pReader->IsCompressed() : false;
+}
+
u64 CVolumeGC::GetSize() const
{
if (m_pReader)