Unconfigured IDE discs now no longer respond to commands.

This commit is contained in:
TomW 2013-10-19 20:43:51 +01:00
commit 39619c3cc0

View file

@ -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;
}
}
}