mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-06 14:15:41 +12:00
Mark VBlank event likely
This commit is contained in:
parent
88dc2cc864
commit
3c06098ead
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue