gpu_neon: add some intelace mode handling
[pcsx_rearmed.git] / plugins / gpu_neon / psx_gpu_if.c
index 8907ac0..470f68e 100644 (file)
@@ -48,6 +48,15 @@ void renderer_flush_queues(void)
   flush_render_block_buffer(&egpu);
 }
 
+void renderer_set_interlace(int enable, int is_odd)
+{
+  egpu.interlace_mode &= ~(RENDER_INTERLACE_ENABLED|RENDER_INTERLACE_ODD);
+  if (enable)
+    egpu.interlace_mode |= RENDER_INTERLACE_ENABLED;
+  if (is_odd)
+    egpu.interlace_mode |= RENDER_INTERLACE_ODD;
+}
+
 void renderer_set_config(const struct rearmed_cbs *cbs)
 {
 }