From f9c6a97f5ed9a13dee78ea3bea27934da76bb2da Mon Sep 17 00:00:00 2001 From: Ulf Wohlers Date: Wed, 12 Mar 2003 13:20:43 +0000 Subject: [PATCH] always use cdrom fake interface if not win or linux. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@754 --- src/dos/dos_mscdex.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/dos/dos_mscdex.cpp b/src/dos/dos_mscdex.cpp index 702fe9e8..af48208b 100644 --- a/src/dos/dos_mscdex.cpp +++ b/src/dos/dos_mscdex.cpp @@ -239,8 +239,11 @@ int CMscdex::AddDrive(Bit16u _drive, char* physicalPath, Bit8u& subUnit) cdrom[numDrives] = new CDROM_Interface_Aspi(); LOG(LOG_MISC,"MSCDEX: ASPI Interface."); } - #else + #elif __linux__ cdrom[numDrives] = new CDROM_Interface_Linux(); + #else // No support on this machine... + cdrom[numDrives] = new CDROM_Interface_Fake(); + LOG(LOG_MISC|LOG_ERROR,"MSCDEX: No MSCDEX support on this machine."); #endif LOG(LOG_MISC,"MSCDEX: Mounting physical cdrom: %s" ,physicalPath); } break;