mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Add an early version of WIABlobReader
It can currently only read the first 0x80 bytes of a disc image, which is enough for identifying it but not for doing anything else.
This commit is contained in:
parent
0bc7dcd172
commit
8da5d0c4fe
14 changed files with 218 additions and 9 deletions
|
@ -20,6 +20,7 @@
|
|||
#include "DiscIO/DriveBlob.h"
|
||||
#include "DiscIO/FileBlob.h"
|
||||
#include "DiscIO/TGCBlob.h"
|
||||
#include "DiscIO/WIABlob.h"
|
||||
#include "DiscIO/WbfsBlob.h"
|
||||
|
||||
namespace DiscIO
|
||||
|
@ -205,6 +206,8 @@ std::unique_ptr<BlobReader> CreateBlobReader(const std::string& filename)
|
|||
return TGCFileReader::Create(std::move(file));
|
||||
case WBFS_MAGIC:
|
||||
return WbfsFileReader::Create(std::move(file), filename);
|
||||
case WIA_MAGIC:
|
||||
return WIAFileReader::Create(std::move(file), filename);
|
||||
default:
|
||||
if (auto directory_blob = DirectoryBlobReader::Create(filename))
|
||||
return std::move(directory_blob);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue