diff --git a/src/state.rs b/src/state.rs index ba68fe9..f7ea83a 100644 --- a/src/state.rs +++ b/src/state.rs @@ -48,7 +48,7 @@ impl EmuState { } } ActionSwitch::SingleStep => { - if state == SwitchState::Up { + if state != SwitchState::Neut { self.run_cpu_cycle(); } }