Final preparations for open source roll-out

This commit is contained in:
Jeff Parsons 2014-10-12 00:08:15 -07:00 • committed by jeffpar
commit 60669365f9
40 changed files with 2814 additions and 2639 deletions

View file

@ -613,10 +613,10 @@ Disk.prototype.onLoadDisk = function(sDiskFile, sDiskData, nErrorCode, sDiskPath
}
if (!aDiskData.length) {
this.error("Empty disk image: " + this.sDiskName);
Component.error("Empty disk image: " + this.sDiskName);
}
else if (aDiskData.length == 1) {
this.error(aDiskData[0]);
Component.error(aDiskData[0]);
}
/*
* aDiskData is an array of cylinders, each of which is an array of heads, each of which
@ -731,7 +731,7 @@ Disk.prototype.onLoadDisk = function(sDiskFile, sDiskData, nErrorCode, sDiskPath
disk = this;
}
} catch (e) {
this.error("Disk image error: " + e.message);
Component.error("Disk image error: " + e.message);
}
}
if (this.fnNotify) {