From 39619c3cc059d553876dfc4ef1939b86418d1eb5 Mon Sep 17 00:00:00 2001 From: TomW Date: Sat, 19 Oct 2013 20:43:51 +0100 Subject: [PATCH] Unconfigured IDE discs now no longer respond to commands. --- src/ide.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ide.c b/src/ide.c index 0d2f438..ddfff16 100644 --- a/src/ide.c +++ b/src/ide.c @@ -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; } } }