Unconfigured IDE discs now no longer respond to commands.
This commit is contained in:
parent
16509b1970
commit
39619c3cc0
1 changed files with 2 additions and 0 deletions
|
|
@ -516,12 +516,14 @@ static void loadhd(IDE *ide, int d, const char *fn)
|
|||
ide->type = IDE_NONE;
|
||||
/* fatal("Cannot create file '%s': %s",
|
||||
fn, strerror(errno));*/
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
/* Failed for another reason */
|
||||
ide->type = IDE_NONE;
|
||||
/* fatal("Cannot open file '%s': %s",
|
||||
fn, strerror(errno));*/
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue