summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/video_out_rockbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mpegplayer/video_out_rockbox.c')
-rw-r--r--apps/plugins/mpegplayer/video_out_rockbox.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/apps/plugins/mpegplayer/video_out_rockbox.c b/apps/plugins/mpegplayer/video_out_rockbox.c
index 12431bef4a..5a479858f1 100644
--- a/apps/plugins/mpegplayer/video_out_rockbox.c
+++ b/apps/plugins/mpegplayer/video_out_rockbox.c
@@ -503,21 +503,14 @@ void vo_set_clip_rect(const struct vo_rect *rc)
503 vo.output_height = rc_out.b - rc_out.t; 503 vo.output_height = rc_out.b - rc_out.t;
504} 504}
505 505
506#if NUM_CORES > 1 || !defined (HAVE_LCD_COLOR) 506#if NUM_CORES > 1
507void vo_lock(void) 507void vo_lock(void)
508{ 508{
509/* TODO: evaluate synchronization with graylib in the sim */
510#if !defined(HAVE_LCD_COLOR) && !defined(SIMULATOR)
511 set_irq_level(HIGHEST_IRQ_LEVEL);
512#endif
513 video_lock(); 509 video_lock();
514} 510}
515 511
516void vo_unlock(void) 512void vo_unlock(void)
517{ 513{
518 video_unlock(); 514 video_unlock();
519#if !defined(HAVE_LCD_COLOR) && !defined(SIMULATOR)
520 set_irq_level(0);
521#endif
522} 515}
523#endif 516#endif