Move one #ifdef BSNES_HAS_DEBUGGER to the proper place

This commit is contained in:
Ilari Liusvaara 2014-03-21 14:12:31 +02:00
parent a26de8a081
commit 92465b929f

View file

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