mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Add ciso support.
Thanks to dolphin.user839 for the patch ;) Fixes issue 2708. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6685 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
07d947c834
commit
642c7a437c
8 changed files with 186 additions and 2 deletions
|
@ -21,6 +21,7 @@
|
|||
#include "Blob.h"
|
||||
#include "CompressedBlob.h"
|
||||
#include "FileBlob.h"
|
||||
#include "CISOBlob.h"
|
||||
#include "DriveBlob.h"
|
||||
|
||||
namespace DiscIO
|
||||
|
@ -130,6 +131,9 @@ IBlobReader* CreateBlobReader(const char* filename)
|
|||
if (IsCompressedBlob(filename))
|
||||
return CompressedBlobReader::Create(filename);
|
||||
|
||||
if (IsCISOBlob(filename))
|
||||
return CISOFileReader::Create(filename);
|
||||
|
||||
// Still here? Assume plain file - since we know it exists due to the File::Exists check above.
|
||||
return PlainFileReader::Create(filename);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue