diff options
Diffstat (limited to 'plugins/gpu_neon/psx_gpu_if.c')
-rw-r--r-- | plugins/gpu_neon/psx_gpu_if.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/gpu_neon/psx_gpu_if.c b/plugins/gpu_neon/psx_gpu_if.c index 8907ac0..470f68e 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) { } |