1
0
Fork 0

use ioctl interface as default in linux

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1609
This commit is contained in:
Ulf Wohlers 2004-01-28 12:03:07 +00:00
parent ab187f3ef5
commit 670928f590

View file

@ -27,8 +27,8 @@
#include "cdrom.h"
//#define MSCDEX_LOG LOG(LOG_MISC,LOG_ERROR)
#define MSCDEX_LOG
#define MSCDEX_LOG LOG(LOG_MISC,LOG_ERROR)
//#define MSCDEX_LOG
#define MSCDEX_VERSION_HIGH 2
#define MSCDEX_VERSION_LOW 23
@ -261,11 +261,12 @@ int CMscdex::AddDrive(Bit16u _drive, char* physicalPath, Bit8u& subUnit)
}
#endif
#if defined (LINUX)
if (useCdromInterface==CDROM_USE_IOCTL) {
// Always use IOCTL in Linux
// if (useCdromInterface==CDROM_USE_IOCTL) {
cdrom[numDrives] = new CDROM_Interface_Ioctl();
LOG(LOG_MISC,LOG_NORMAL)("MSCDEX: IOCTL Interface.");
break;
}
// }
#endif
cdrom[numDrives] = new CDROM_Interface_SDL();
LOG(LOG_MISC,LOG_NORMAL)("MSCDEX: SDL Interface.");