Machine states now save/restore the CPU's running state
This commit is contained in:
parent
0ec54f6da4
commit
754a4a4027
10 changed files with 977 additions and 949 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue