diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-07-17 03:01:36 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-07-17 03:01:36 +0000 |
| commit | c8a6536656c70d6fa62f7a3cb4484f45688679c8 (patch) | |
| tree | 9ca8ba3b7affd0cf1df7223657ad94fc9d8dd33d /macosx/plugins | |
| parent | 67baa28487d62c8fee6481bad79561936510decd (diff) | |
| download | pcsxr-c8a6536656c70d6fa62f7a3cb4484f45688679c8.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@54824 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins')
| -rw-r--r-- | macosx/plugins/CDDeviceInterface/src/PlugCD.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/macosx/plugins/CDDeviceInterface/src/PlugCD.c b/macosx/plugins/CDDeviceInterface/src/PlugCD.c index b9d770dd..1e3a613e 100644 --- a/macosx/plugins/CDDeviceInterface/src/PlugCD.c +++ b/macosx/plugins/CDDeviceInterface/src/PlugCD.c @@ -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 |
