Simplify subclassing

This commit is contained in:
Jeff Parsons 2015-04-01 17:20:26 -07:00 committed by jeffpar
commit a2b06b7626
28 changed files with 579 additions and 607 deletions

View file

@ -188,7 +188,7 @@ function X86CPU(parmsCPU) {
this.resetRegs();
}
Component.subclass(CPU, X86CPU);
Component.subclass(X86CPU, CPU);
X86CPU.CYCLES_8088 = {
nWordCyclePenalty: 4, // NOTE: accurate for the 8088/80188 only (on the 8086/80186, it applies to odd addresses only)