X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fgpu_neon%2Fpsx_gpu_if.c;h=470f68e70487733bd92dc1991b475029831ae3f4;hp=8907ac02821ea68a653c5e8a1525653ded9dc455;hb=5440b88ee29ee5b8929fcf338dfc8f476468514d;hpb=69b09c0d33efd71ebe4886cfae41c162803683d5 diff --git a/plugins/gpu_neon/psx_gpu_if.c b/plugins/gpu_neon/psx_gpu_if.c index 8907ac02..470f68e7 100644 --- a/plugins/gpu_neon/psx_gpu_if.c +++ b/plugins/gpu_neon/psx_gpu_if.c @@ -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) { }