summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO
diff options
context:
space:
mode:
authornakeee <nakeee@gmail.com>2009-02-24 15:04:12 +0000
committernakeee <nakeee@gmail.com>2009-02-24 15:04:12 +0000
commit9b1f0f9083d989b30a52fae549be8d488c3acede (patch)
treeeaa0b6058220ae3e3b4ca94697aabada55bebda1 /Source/Core/DiscIO
parente79a93f6168c3205cee892dd7c5765e948c17228 (diff)
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
Diffstat (limited to 'Source/Core/DiscIO')
-rw-r--r--Source/Core/DiscIO/Src/Blob.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/Src/Blob.cpp b/Source/Core/DiscIO/Src/Blob.cpp
index 9ca96a87ad..a2c04feec8 100644
--- a/Source/Core/DiscIO/Src/Blob.cpp
+++ b/Source/Core/DiscIO/Src/Blob.cpp
@@ -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))