Fix single step only working when switch pushed up
This commit is contained in:
parent
a98a9c3d8b
commit
b87a8f81ef
@ -48,7 +48,7 @@ impl EmuState {
|
||||
}
|
||||
}
|
||||
ActionSwitch::SingleStep => {
|
||||
if state == SwitchState::Up {
|
||||
if state != SwitchState::Neut {
|
||||
self.run_cpu_cycle();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user