Turn live register updates OFF by default (gives browsers less reason to bog down)

This commit is contained in:
Jeff Parsons 2014-11-16 11:16:56 -08:00 • committed by jeffpar
commit c2c387a06d
11 changed files with 170 additions and 146 deletions

View file

@ -52,7 +52,7 @@ var X86OpXX = {
/*
* Look for common *potentially* bogus opcodes in DEBUG
*/
if (DEBUG && !b) this.haltCPU();
if (DEBUG && !b) this.stopCPU();
X86Mods.aOpModsMemByte[b].call(this, X86Grps.opGrpADDb);
},
/**
@ -3207,7 +3207,7 @@ var X86OpXX = {
*/
if (DEBUGGER && this.dbg && this.dbg.checksEnabled(true)) {
this.advanceIP(-1); // this is purely for the Debugger's benefit, to show the HLT
this.haltCPU();
this.stopCPU();
return;
}
/*
@ -3216,7 +3216,7 @@ var X86OpXX = {
*/
if (!this.getIF()) {
if (DEBUGGER && this.dbg) this.advanceIP(-1);
this.haltCPU();
this.stopCPU();
// return;
}
},