drive number fix ('and' it with 0xff)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1026
This commit is contained in:
parent
68b6e04b5e
commit
7b909131e0
2 changed files with 8 additions and 12 deletions
|
@ -121,7 +121,7 @@ bool CDROM_Interface_SDL::PlayAudioSector (unsigned long start,unsigned long len
|
|||
// Has to be there, otherwise wrong cd status report (dunno why, sdl bug ?)
|
||||
SDL_CDClose(cd);
|
||||
cd = SDL_CDOpen(driveID);
|
||||
bool success = (SDL_CDPlay(cd,start,len)==0);
|
||||
bool success = (SDL_CDPlay(cd,start+150,len)==0);
|
||||
return success;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue