- if (gpu.status.blanking || !gpu.state.fb_dirty)
- return;
-
- if (gpu.frameskip.set) {
- if (!gpu.frameskip.frame_ready) {
- if (*gpu.state.frame_count - gpu.frameskip.last_flip_frame < 9)
- return;
- }
- gpu.frameskip.frame_ready = 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();