Fix single step only working when switch pushed up

This commit is contained in:
pjht 2024-02-01 18:58:30 -06:00
parent a98a9c3d8b
commit b87a8f81ef
Signed by: pjht
GPG Key ID: 7B5F6AFBEC7EE78E

View File

@ -48,7 +48,7 @@ impl EmuState {
}
}
ActionSwitch::SingleStep => {
if state == SwitchState::Up {
if state != SwitchState::Neut {
self.run_cpu_cycle();
}
}