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:
parent
4295bf213b
commit
0b47601a00
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue