| 4535 | } |
| 4536 | |
| 4537 | void 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 | |
| 4559 | void consoleWin_t::updatePeriodic(void) |
| 4560 | { |
nothing calls this directly
no test coverage detected