mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Add TGC disc image compatibility
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user