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:
parent
bf8d837ad1
commit
2e827ea628
1 changed files with 2 additions and 0 deletions
|
|
@ -1437,6 +1437,8 @@ FDC.prototype.doneLoadDiskette = function onFDCLoadNotify(drive, disk, sDiskette
|
||||||
drive.nDiskCylinders = aDiskInfo[0];
|
drive.nDiskCylinders = aDiskInfo[0];
|
||||||
drive.nDiskHeads = aDiskInfo[1];
|
drive.nDiskHeads = aDiskInfo[1];
|
||||||
drive.nDiskSectors = aDiskInfo[2];
|
drive.nDiskSectors = aDiskInfo[2];
|
||||||
|
|
||||||
|
if (this.cpu) this.cpu.setFocus();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
drive.fLocal = false;
|
drive.fLocal = false;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue