diff options
| author | JosJuice <josjuice@gmail.com> | 2016-12-17 14:48:49 +0100 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2016-12-18 18:57:36 +0100 |
| commit | 9bd514ed1cd02cc0b8c8f22affecaae1892da15f (patch) | |
| tree | dd9195dd1cef94686cc2f4d38b876135de0eeef1 /Source/Core/DiscIO/Blob.cpp | |
| parent | 49384208cfce23d6b9ff12e4a16b1fb98da7735e (diff) | |
Add TGC disc image compatibility
Diffstat (limited to 'Source/Core/DiscIO/Blob.cpp')
| -rw-r--r-- | Source/Core/DiscIO/Blob.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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<IBlobReader> 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); } |
