git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@54824 e17a0e51-4ae3-4d35-97c3-1a29b211df97

This commit is contained in:
SND\weimingzhi_cp 2010-07-17 03:01:36 +00:00
parent 67baa28487
commit c8a6536656
3 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,9 @@
July 17, 2010 Wei Mingzhi <whistler_wmz@users.sf.net>
* plugins/dfcdrom/cdr-libcdio.c: Include libcdio headers before cdr.h.
* macosx/plugins/CDDeviceInterface/src/PlugCD.c: Check for kIODVDMediaClass
as well (MIGHT fix the "Can't check CD-ROM" issue, cannot test).
July 15, 2010 Wei Mingzhi <whistler_wmz@users.sf.net>
* plugins/dfcdrom/cdr-libcdio.c: Force CAM access mode on FreeBSD.

View File

@ -94,7 +94,10 @@ kern_return_t FindEjectableCDMedia( io_iterator_t *mediaIterator, mach_port_t *m
return kernResult;
}
// CD media are instances of class kIOCDMediaClass.
classesToMatch = IOServiceMatching( kIOCDMediaClass );
classesToMatch = IOServiceMatching( kIOCDMediaClass );
if ( classesToMatch == NULL )
classesToMatch = IOServiceMatching( kIODVDMediaClass );
if ( classesToMatch == NULL )
printf( "IOServiceMatching returned a NULL dictionary.\n" );
else

View File

@ -21,11 +21,11 @@
#ifdef USE_LIBCDIO
#include "cdr.h"
#include <cdio/cdio.h>
#include <cdio/mmc.h>
#include "cdr.h"
static CdIo_t *cdHandle = NULL;
static void SetSpeed(int speed) {