1
0
Fork 0

open cdrom as when we are in forced mode as well

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2180
This commit is contained in:
Peter Veenstra 2005-04-21 18:24:40 +00:00
parent 4295bf213b
commit 0b47601a00

View file

@ -53,7 +53,9 @@ bool CDROM_Interface_SDL::SetDevice (char* path, int forceCD)
int num = SDL_CDNumDrives();
if ((forceCD>=0) && (forceCD<num)) {
driveID = forceCD;
return true;
cd = SDL_CDOpen(driveID);
SDL_CDStatus(cd);
return true;
};
const char* cdname = 0;