If a CD-ROM sector read fails when using the Windows IOCTL code, retry using SPTI. BeOS 5 now boots from CD.
This commit is contained in:
parent
a9ef194a3c
commit
c183af29c1
7 changed files with 98 additions and 30 deletions
4
src/pc.c
4
src/pc.c
|
|
@ -290,13 +290,13 @@ void initpc(int argc, char *argv[])
|
|||
cdrom_null_open(cdrom_drive);
|
||||
#else
|
||||
cdrom_drive = 0;
|
||||
ioctl_open(cdrom_drive);
|
||||
ioctl_set_drive(cdrom_drive);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ioctl_open(cdrom_drive);
|
||||
ioctl_set_drive(cdrom_drive);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue