diff --git a/src/emulator.cpp b/src/emulator.cpp index f0f24c59..1ac8d5b2 100644 --- a/src/emulator.cpp +++ b/src/emulator.cpp @@ -128,7 +128,7 @@ void Emulator::pollScheduler() { scheduler.updateNextTimestamp(); switch (eventType) { - case Scheduler::EventType::VBlank: { + case Scheduler::EventType::VBlank: [[likely]] { // Signal that we've reached the end of a frame frameDone = true; lua.signalEvent(LuaEvent::Frame);