mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06: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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user