mirror of https://github.com/stella-emu/stella.git
Fix compile failure when debugger support is disabled.
This commit is contained in:
parent
f3f966d12c
commit
c2bfeb5799
|
@ -45,6 +45,8 @@
|
|||
#include "Settings.hxx"
|
||||
#include "Vec.hxx"
|
||||
|
||||
#include "TIA.hxx"
|
||||
#include "M6532.hxx"
|
||||
#include "System.hxx"
|
||||
#include "M6502.hxx"
|
||||
#include "DispatchResult.hxx"
|
||||
|
|
|
@ -670,8 +670,10 @@ double OSystem::dispatchEmulation(EmulationWorker& emulationWorker)
|
|||
// Stop the worker and wait until it has finished
|
||||
uInt64 totalCycles = emulationWorker.stop();
|
||||
|
||||
#ifdef DEBUGGER_SUPPORT
|
||||
// Break or trap? -> start debugger
|
||||
if (dispatchResult.getStatus() == DispatchResult::Status::debugger) myDebugger->start();
|
||||
#endif
|
||||
|
||||
// Handle frying
|
||||
if (dispatchResult.getStatus() == DispatchResult::Status::ok && myEventHandler->frying())
|
||||
|
|
Loading…
Reference in New Issue