- if (gpu.status.blanking || !gpu.state.fb_dirty)
- return;
-
- if (gpu.frameskip.set) {
- if (!gpu.frameskip.frame_ready && gpu.frameskip.skipped_blits < 9) {
- gpu.frameskip.skipped_blits++;
- return;
- }
- gpu.frameskip.frame_ready = 0;
- gpu.frameskip.skipped_blits = 0;
- }
-
- renderer_flush_queues();
- blit();
- gpu.state.fb_dirty = 0;
+ check_mode_change();
+ if (cbs->pl_vout_raw_flip)
+ cbs->pl_vout_raw_flip(gpu.screen.x, gpu.screen.y);
+ else
+ blit();