fixed return value of ReadSectors
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1241
This commit is contained in:
parent
2e3f978afe
commit
3da5dcbd9b
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ bool CDROM_Interface_Ioctl::ReadSectors(PhysPt buffer, bool raw, unsigned long s
|
|||
MEM_BlockWrite(buffer,bufdata,buflen);
|
||||
delete[] bufdata;
|
||||
|
||||
return (byteCount!=num*RAW_SECTOR_SIZE) && (bStat>0);
|
||||
return (byteCount==buflen) && (bStat>0);
|
||||
}
|
||||
|
||||
bool CDROM_Interface_Ioctl::SetDevice(char* path, int forceCD)
|
||||
|
|
Loading…
Add table
Reference in a new issue