mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Added cdutils which suppose to scan for devices in a portable way (ripped from cdio)
Changed the Code to use it instead of DriveUtil code. Please test the code git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2413 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -17,6 +17,7 @@
|
||||
|
||||
#include "Common.h"
|
||||
#include "FileUtil.h"
|
||||
#include "CDUtils.h"
|
||||
#include "Blob.h"
|
||||
#include "CompressedBlob.h"
|
||||
#include "FileBlob.h"
|
||||
@ -121,7 +122,7 @@ bool SectorReader::ReadMultipleAlignedBlocks(u64 block_num, u64 num_blocks, u8 *
|
||||
|
||||
IBlobReader* CreateBlobReader(const char* filename)
|
||||
{
|
||||
if (File::IsDisk(filename))
|
||||
if (cdio_is_cdrom(filename))
|
||||
return DriveReader::Create(filename);
|
||||
|
||||
if (!File::Exists(filename))
|
||||
|
Reference in New Issue
Block a user