1
0
Fork 0

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:
Ulf Wohlers 2003-05-31 21:08:36 +00:00
parent 68b6e04b5e
commit 7b909131e0
2 changed files with 8 additions and 12 deletions

View file

@ -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;
};