diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-07-15 07:07:34 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-07-15 07:07:34 +0000 |
| commit | 4595ee36dbf027ccc8f700cc6d6256f47cd05a98 (patch) | |
| tree | 1a6c3a2cc621d7d6a1811b3d5cb24f220f05b047 /plugins/dfcdrom/cdr-libcdio.c | |
| parent | 31db6906681fa9815373d5550dce12b77d2518e4 (diff) | |
| download | pcsxr-4595ee36dbf027ccc8f700cc6d6256f47cd05a98.tar.gz | |
use /dev/cd? instead of /dev/acd? on freebsd
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@54651 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfcdrom/cdr-libcdio.c')
| -rw-r--r-- | plugins/dfcdrom/cdr-libcdio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/dfcdrom/cdr-libcdio.c b/plugins/dfcdrom/cdr-libcdio.c index 2b4a309c..560cd76b 100644 --- a/plugins/dfcdrom/cdr-libcdio.c +++ b/plugins/dfcdrom/cdr-libcdio.c @@ -78,7 +78,11 @@ int OpenCdHandle(const char *dev) { } } +#ifdef __FreeBSD__ + cdHandle = cdio_open_am_cd(dev, "MMC"); +#else cdHandle = cdio_open_cd(dev); +#endif if (cdHandle != NULL) { SetSpeed(CdrSpeed); |
