From 7885e63deb7310d59701639d02e6c400fa91ccb7 Mon Sep 17 00:00:00 2001 From: skidau Date: Fri, 4 May 2012 00:09:01 +1000 Subject: Added wbfs support. Thanks to lordlyhobo for the patch. Fixes issue 859. --- Source/Core/DiscIO/Src/Blob.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Source/Core/DiscIO/Src/Blob.cpp') diff --git a/Source/Core/DiscIO/Src/Blob.cpp b/Source/Core/DiscIO/Src/Blob.cpp index a728780f23..115145e290 100644 --- a/Source/Core/DiscIO/Src/Blob.cpp +++ b/Source/Core/DiscIO/Src/Blob.cpp @@ -23,6 +23,7 @@ #include "FileBlob.h" #include "CISOBlob.h" #include "DriveBlob.h" +#include "WbfsBlob.h" namespace DiscIO { @@ -128,6 +129,9 @@ IBlobReader* CreateBlobReader(const char* filename) if (!File::Exists(filename)) return 0; + if (IsWbfsBlob(filename)) + return WbfsFileReader::Create(filename); + if (IsCompressedBlob(filename)) return CompressedBlobReader::Create(filename); -- cgit v1.2.3