From c90c31789a016634a6eb06b7ba3568ef6f7fda3d Mon Sep 17 00:00:00 2001 From: Shane Krueger Date: Sun, 25 Mar 2018 14:20:22 -0400 Subject: [PATCH] Undo functional change introduced in pull request 625 in boot command --- src/dos/dos_programs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dos/dos_programs.cpp b/src/dos/dos_programs.cpp index f9fadd7de..4a9ea358b 100644 --- a/src/dos/dos_programs.cpp +++ b/src/dos/dos_programs.cpp @@ -755,8 +755,8 @@ public: else { diskSwap[i] = new imageDisk(usefile, (Bit8u *)temp_line.c_str(), floppysize, false); } - diskSwap[i]->Addref(); + if (diskSwap[i]->active && !diskSwap[i]->hardDrive) incrementFDD(); //moved from imageDisk constructor if (usefile_1==NULL) { usefile_1=usefile;