MCPcopy Create free account
hub / github.com/TASEmulators/fceux / emuFrameFinish

Method emuFrameFinish

src/drivers/Qt/ConsoleWindow.cpp:4537–4557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4535}
4536
4537void consoleWin_t::emuFrameFinish(void)
4538{
4539 static bool eventProcessingInProg = false;
4540
4541 if ( eventProcessingInProg )
4542 { // Prevent recursion as processEvents function can double back on us
4543 return;
4544 }
4545 eventProcessingInProg = true;
4546 // Process all events before attempting to render viewport
4547 QCoreApplication::processEvents();
4548
4549 eventProcessingInProg = false;
4550
4551 // Update Input Devices
4552 FCEUD_UpdateInput();
4553
4554 //printf("EMU Frame Finish\n");
4555
4556 transferVideoBuffer();
4557}
4558
4559void consoleWin_t::updatePeriodic(void)
4560{

Callers

nothing calls this directly

Calls 1

FCEUD_UpdateInputFunction · 0.70

Tested by

no test coverage detected