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 "Settings.hxx"
|
||||||
#include "Vec.hxx"
|
#include "Vec.hxx"
|
||||||
|
|
||||||
|
#include "TIA.hxx"
|
||||||
|
#include "M6532.hxx"
|
||||||
#include "System.hxx"
|
#include "System.hxx"
|
||||||
#include "M6502.hxx"
|
#include "M6502.hxx"
|
||||||
#include "DispatchResult.hxx"
|
#include "DispatchResult.hxx"
|
||||||
|
|
|
@ -670,8 +670,10 @@ double OSystem::dispatchEmulation(EmulationWorker& emulationWorker)
|
||||||
// Stop the worker and wait until it has finished
|
// Stop the worker and wait until it has finished
|
||||||
uInt64 totalCycles = emulationWorker.stop();
|
uInt64 totalCycles = emulationWorker.stop();
|
||||||
|
|
||||||
|
#ifdef DEBUGGER_SUPPORT
|
||||||
// Break or trap? -> start debugger
|
// Break or trap? -> start debugger
|
||||||
if (dispatchResult.getStatus() == DispatchResult::Status::debugger) myDebugger->start();
|
if (dispatchResult.getStatus() == DispatchResult::Status::debugger) myDebugger->start();
|
||||||
|
#endif
|
||||||
|
|
||||||
// Handle frying
|
// Handle frying
|
||||||
if (dispatchResult.getStatus() == DispatchResult::Status::ok && myEventHandler->frying())
|
if (dispatchResult.getStatus() == DispatchResult::Status::ok && myEventHandler->frying())
|
||||||
|
|
Loading…
Reference in New Issue