80286 triple-fault happily resets now
This commit is contained in:
parent
ec857802d5
commit
9d73a2674e
21 changed files with 402 additions and 261 deletions
|
|
@ -1332,8 +1332,10 @@ Keyboard.prototype.calcReleaseDelay = function(fRepeat)
|
|||
Keyboard.prototype.autoClear = function(notKeyCode)
|
||||
{
|
||||
if (this.prevCharDown && (notKeyCode === undefined || notKeyCode != this.prevCharDown)) {
|
||||
if (DEBUG) this.messageDebugger("autoClear(" + this.prevCharDown + ")");
|
||||
Component.assert(this.aKeyTimers[this.prevCharDown]);
|
||||
if (DEBUG) {
|
||||
this.messageDebugger("autoClear(" + this.prevCharDown + ")");
|
||||
this.assert(this.aKeyTimers[this.prevCharDown]);
|
||||
}
|
||||
clearTimeout(this.aKeyTimers[this.prevCharDown]);
|
||||
this.keySimulateUpOrDown(this.prevCharDown, false, Keyboard.SIMCODE.AUTOCLEAR);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue