diff options
author | sshwarts <sshwarts> | 2008-12-07 17:32:29 +0000 |
---|---|---|
committer | sshwarts <sshwarts> | 2008-12-07 17:32:29 +0000 |
commit | 51fd2b51feddfb5e4d35686026fee4cc571076d2 (patch) | |
tree | 1ed50161f7cde7a5c40d6f81da8ebfc5f8d52ad8 /bios | |
parent | 60e85db1bf20c665737d7d1d8f7b6b3b3dfc5dc2 (diff) |
Merged patchfix by Sebastian
Diffstat (limited to 'bios')
-rw-r--r-- | bios/rombios.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bios/rombios.c b/bios/rombios.c index fad2488b..4574ee73 100644 --- a/bios/rombios.c +++ b/bios/rombios.c @@ -3601,12 +3601,12 @@ cdrom_boot() if (atapi_is_cdrom(device)) break; } - if(error = atapi_is_ready(device) != 0) - BX_INFO("ata_is_ready returned %d\n",error); - // if not found if(device >= BX_MAX_ATA_DEVICES) return 2; + if(error = atapi_is_ready(device) != 0) + BX_INFO("ata_is_ready returned %d\n",error); + // Read the Boot Record Volume Descriptor memsetb(get_SS(),atacmd,0,12); atacmd[0]=0x28; // READ command |