diff --git a/Core/EventManager.cpp b/Core/EventManager.cpp index cd3d22dc..c9f73364 100644 --- a/Core/EventManager.cpp +++ b/Core/EventManager.cpp @@ -176,7 +176,7 @@ uint32_t EventManager::TakeEventSnapshot(EventViewerDisplayOptions options) _snapshotCycle = cycle; if(options.ShowPreviousFrameEvents && scanline != 0) { for(DebugEventInfo &evt : _prevDebugEvents) { - uint32_t evtKey = (evt.Scanline << 9) + evt.Cycle; + uint32_t evtKey = ((evt.Scanline + 1) << 9) + evt.Cycle; if(evtKey > key) { _snapshot.push_back(evt); }