Don't brand .img disk conversions in debug mode
This commit is contained in:
parent
ef4c043fab
commit
acdba61e61
1 changed files with 1 additions and 3 deletions
|
|
@ -2582,8 +2582,6 @@ DiskDump.prototype.convertOSIDiskToJSON = function()
|
||||||
*/
|
*/
|
||||||
DiskDump.prototype.convertToIMG = function()
|
DiskDump.prototype.convertToIMG = function()
|
||||||
{
|
{
|
||||||
DiskDump.logConsole("convertToIMG()");
|
|
||||||
|
|
||||||
if (!this.bufDisk) {
|
if (!this.bufDisk) {
|
||||||
|
|
||||||
if (!this.dataDisk) {
|
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
|
* Mimic the BPB test in convertToJSON(), because we don't want to blast an OEM string into non-DOS diskette images
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue