Running state properly reset on power-on

This commit is contained in:
pjht 2024-02-01 18:46:39 -06:00
parent b5727da45b
commit 0c76aab81c
Signed by: pjht
GPG Key ID: 7B5F6AFBEC7EE78E

View File

@ -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 {