From 335f58cbf65e9f8e99ff89e37d78cbce82f5f541 Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Sat, 12 Nov 2022 22:04:50 +0600 Subject: [PATCH] hdd_image: Try to reopen existing disk image next time Fixes #1766. --- src/disk/hdd_image.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/disk/hdd_image.c b/src/disk/hdd_image.c index 7100acdd6..f9baec566 100644 --- a/src/disk/hdd_image.c +++ b/src/disk/hdd_image.c @@ -348,7 +348,6 @@ hdd_image_load(int id) } else { /* Failed for another reason */ hdd_image_log("Failed for another reason\n"); - memset(hdd[id].fn, 0, sizeof(hdd[id].fn)); return 0; } } else {