Updated addTimer() interface to include an ID; cleaned up how the CPU tracks the base speed, current speed, and target speed
This commit is contained in:
parent
f71b4d648c
commit
e5a9b01dde
18 changed files with 2403 additions and 2387 deletions
|
|
@ -86,9 +86,9 @@ class X86CPU extends CPU {
|
|||
*/
|
||||
constructor(parmsCPU)
|
||||
{
|
||||
var nCyclesDefault;
|
||||
var model = +parmsCPU['model'] || X86.MODEL_8088;
|
||||
|
||||
var nCyclesDefault = 0;
|
||||
switch(model) {
|
||||
case X86.MODEL_8088:
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in a new issue