+void vout_blank(void)
+{
+ if (cbs->pl_vout_raw_flip == NULL) {
+ int w = gpu.screen.hres;
+ int h = gpu.screen.h;
+ int bytespp = gpu.status.rgb24 ? 3 : 2;
+ if (gpu.state.enhancement_active) {
+ w *= 2;
+ h *= 2;
+ }
+ memset(screen_buf, 0, w * h * bytespp);
+ screen_buf = cbs->pl_vout_flip();
+ }
+}
+