Move one #ifdef BSNES_HAS_DEBUGGER to the proper place
This commit is contained in:
parent
a26de8a081
commit
92465b929f
1 changed files with 1 additions and 1 deletions
|
@ -1187,12 +1187,12 @@ again:
|
|||
#endif
|
||||
again2:
|
||||
SNES::system.run();
|
||||
#ifdef BSNES_HAS_DEBUGGER
|
||||
if(SNES::scheduler.exit_reason() == SNES::Scheduler::ExitReason::DebuggerEvent &&
|
||||
SNES::debugger.break_event == SNES::Debugger::BreakEvent::BreakpointHit) {
|
||||
snesdbg_on_break();
|
||||
goto again2;
|
||||
}
|
||||
#ifdef BSNES_HAS_DEBUGGER
|
||||
SNES::cpu.step_event = nall::function<bool()>();
|
||||
#endif
|
||||
have_saved_this_frame = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue