From 9bd514ed1cd02cc0b8c8f22affecaae1892da15f Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sat, 17 Dec 2016 14:48:49 +0100 Subject: Add TGC disc image compatibility --- Source/Core/DiscIO/Blob.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Source/Core/DiscIO/Blob.cpp') diff --git a/Source/Core/DiscIO/Blob.cpp b/Source/Core/DiscIO/Blob.cpp index a3d9d8deb8..d7aad9332a 100644 --- a/Source/Core/DiscIO/Blob.cpp +++ b/Source/Core/DiscIO/Blob.cpp @@ -17,6 +17,7 @@ #include "DiscIO/CompressedBlob.h" #include "DiscIO/DriveBlob.h" #include "DiscIO/FileBlob.h" +#include "DiscIO/TGCBlob.h" #include "DiscIO/WbfsBlob.h" namespace DiscIO @@ -188,6 +189,9 @@ std::unique_ptr CreateBlobReader(const std::string& filename) if (IsCISOBlob(filename)) return CISOFileReader::Create(filename); + if (IsTGCBlob(filename)) + return TGCFileReader::Create(filename); + // Still here? Assume plain file - since we know it exists due to the File::Exists check above. return PlainFileReader::Create(filename); } -- cgit v1.2.3