projects
/
seabios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add floppy controllers to "drives" list also.
[seabios.git]
/
src
/
cdrom.c
diff --git
a/src/cdrom.c
b/src/cdrom.c
index 8823f9b78ead5518ce04fc711c83c27ff04e3a39..6f9f00df603e80bee5310bf57724d0c447cbb0b3 100644
(file)
--- a/
src/cdrom.c
+++ b/
src/cdrom.c
@@
-404,7
+404,7
@@
cdrom_boot(int cdid)
// Verify device is a cdrom.
if (cdid >= Drives.cdcount)
return 1;
- int driveid = GET_GLOBAL(Drives.idmap[
1
][cdid]);
+ int driveid = GET_GLOBAL(Drives.idmap[
EXTTYPE_CD
][cdid]);
int ret = atapi_is_ready(driveid);
if (ret)