mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 22:55:40 +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();
|
scheduler.updateNextTimestamp();
|
||||||
|
|
||||||
switch (eventType) {
|
switch (eventType) {
|
||||||
case Scheduler::EventType::VBlank: {
|
case Scheduler::EventType::VBlank: [[likely]] {
|
||||||
// Signal that we've reached the end of a frame
|
// Signal that we've reached the end of a frame
|
||||||
frameDone = true;
|
frameDone = true;
|
||||||
lua.signalEvent(LuaEvent::Frame);
|
lua.signalEvent(LuaEvent::Frame);
|
||||||
|
|
Loading…
Add table
Reference in a new issue