Machine states now save/restore the CPU's running state

This commit is contained in:
Jeff Parsons 2017-06-27 14:08:16 -07:00 committed by Jeff Parsons
commit 754a4a4027
10 changed files with 977 additions and 949 deletions

View file

@ -897,7 +897,6 @@ class Computer extends Component {
* after they're no longer ready.
*/
if (this.cpu && this.cpu.powerDown) {
if (fShutdown) this.cpu.stopCPU();
data = this.cpu.powerDown(fSave, fShutdown);
if (typeof data === "object") stateComputer.set(this.cpu.id, data);
if (fShutdown) {