+
+ // width|rgb24 change?
+ if ((gpu.status.reg ^ old_status) & ((7<<16)|(1<<21)) || gpu.screen.h != old_h)
+ {
+ old_status = gpu.status.reg;
+ old_h = gpu.screen.h;
+ screen_buf = cbs->pl_vout_set_mode(gpu.screen.hres,
+ gpu.screen.h, gpu.status.rgb24 ? 24 : 16);
+ }
+}
+
+static void blit(void)
+{