Updated README
This commit is contained in:
parent
803147ced1
commit
28a92d6e0b
2 changed files with 10 additions and 1 deletions
|
|
@ -2718,7 +2718,12 @@ DiskDump.prototype.convertToIMG = function()
|
|||
}
|
||||
}
|
||||
}
|
||||
if (!fDebug && buf.length < 3000000) { // arbitrary size threshold between diskette images and hard disk images
|
||||
/*
|
||||
* Since there's no way (and rightly so) of setting fDebug via the API, I've added the check for
|
||||
* fJSONComments as another way of disabling "branding" via the API; requesting an IMG file with comments
|
||||
* is otherwise a nonsensical request.
|
||||
*/
|
||||
if (!fDebug && !this.fJSONComments && 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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue