Make sure real-mode CS:IP changes never signal a stack switch

This commit is contained in:
Jeff Parsons 2015-07-15 18:53:56 -07:00
commit d45f3174f6
4 changed files with 39 additions and 23 deletions

View file

@ -1037,6 +1037,7 @@ X86Seg.prototype.updateMode = function(fLoad, fProt)
this.checkWrite = this.checkWriteReal;
this.cpl = this.dpl = 0;
this.addrDesc = X86.ADDR_INVALID;
this.fStackSwitch = false;
}
return fProt;
};