From acdba61e6124085cf2bd57f48a941c7c66ee4adb Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Tue, 28 Oct 2014 22:56:44 -0700 Subject: [PATCH] Don't brand .img disk conversions in debug mode --- my_modules/diskdump/lib/diskdump.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/my_modules/diskdump/lib/diskdump.js b/my_modules/diskdump/lib/diskdump.js index d72a028c7..d5cb5881c 100644 --- a/my_modules/diskdump/lib/diskdump.js +++ b/my_modules/diskdump/lib/diskdump.js @@ -2582,8 +2582,6 @@ DiskDump.prototype.convertOSIDiskToJSON = function() */ DiskDump.prototype.convertToIMG = function() { - DiskDump.logConsole("convertToIMG()"); - if (!this.bufDisk) { if (!this.dataDisk) { @@ -2720,7 +2718,7 @@ DiskDump.prototype.convertToIMG = function() } } } - if (buf.length < 3000000) { // arbitrary threshold between diskette image sizes and hard disk image sizes + if (!fDebug && buf.length < 3000000) { // arbitrary size threshold between diskette images and hard disk images /* * Mimic the BPB test in convertToJSON(), because we don't want to blast an OEM string into non-DOS diskette images */