Running state properly reset on power-on
This commit is contained in:
parent
b5727da45b
commit
0c76aab81c
@ -95,6 +95,7 @@ impl EmuState {
|
||||
FrontpanelInteraction::Power(pwr) => {
|
||||
if pwr {
|
||||
self.audio_tx.send(AudioMessage::FanOn).unwrap();
|
||||
self.running = false;
|
||||
self.cpu = I8080::new();
|
||||
self.update_fp();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user