diff --git a/src/emucore/EmulationWorker.cxx b/src/emucore/EmulationWorker.cxx index b5f7f8bfb..39ce5ce08 100644 --- a/src/emucore/EmulationWorker.cxx +++ b/src/emucore/EmulationWorker.cxx @@ -20,6 +20,7 @@ #include "EmulationWorker.hxx" #include "DispatchResult.hxx" #include "TIA.hxx" +#include "Logger.hxx" using namespace std::chrono; @@ -238,10 +239,13 @@ void EmulationWorker::handleWakeupFromWaitingForStop(std::unique_lock go for another emulation timeslice + { + Logger::debug("Frame dropped!"); dispatchEmulation(lock); + } else // Wakeup was spurious, reenter sleep myWakeupCondition.wait_until(lock, myVirtualTime);