Fix instruction cycle cost assertion check

This commit is contained in:
Jeff Parsons 2014-09-29 16:59:23 -07:00 • committed by jeffpar
commit 78045adb57
2 changed files with 5 additions and 0 deletions

View file

@ -2823,7 +2823,9 @@ var X86OpXX = {
var nInt = this.getIPByte();
if (this.checkInterruptNotify(nInt)) {
X86Help.opHelpINT.call(this, nInt, null, 0);
return;
}
this.nStepCycles--; // we don't need to assess the full cost of nOpCyclesInt, but we need to assess something...
},
/**
* @this {X86CPU}