Make RTC/NVR a normal device instead of a special thing. Fixes nvr_recalc() being called on systems without NVR, which could cause timer crashes.

This commit is contained in:
SarahW 2019-04-26 14:59:34 +01:00
commit 3508059f16
4 changed files with 90 additions and 52 deletions

View file

@ -601,7 +601,6 @@ void fullspeed()
// else setpitclock(clocks[AT?1:0][cpuspeed2][0]);
}
atfullspeed=1;
nvr_recalc();
}
void speedchanged()
@ -610,7 +609,6 @@ void speedchanged()
setpitclock(models[model].cpu[cpu_manufacturer].cpus[cpu].rspeed);
else
setpitclock(14318184.0);
nvr_recalc();
}
void closepc()