Since you usually want the machine to have focus again after loading a new diskette, let's try automatically setting focus after a successful load

This commit is contained in:
Jeff Parsons 2016-03-28 11:27:00 -07:00
commit 2e827ea628

View file

@ -1437,6 +1437,8 @@ FDC.prototype.doneLoadDiskette = function onFDCLoadNotify(drive, disk, sDiskette
drive.nDiskCylinders = aDiskInfo[0];
drive.nDiskHeads = aDiskInfo[1];
drive.nDiskSectors = aDiskInfo[2];
if (this.cpu) this.cpu.setFocus();
}
else {
drive.fLocal = false;