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:
parent
ab187f3ef5
commit
670928f590
1 changed files with 5 additions and 4 deletions
|
@ -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.");
|
||||
|
|
Loading…
Add table
Reference in a new issue