diff options
Diffstat (limited to 'apps/plugins/mpegplayer/video_out_rockbox.c')
-rw-r--r-- | apps/plugins/mpegplayer/video_out_rockbox.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/mpegplayer/video_out_rockbox.c b/apps/plugins/mpegplayer/video_out_rockbox.c index 6efbaf0a01..239d3270d6 100644 --- a/apps/plugins/mpegplayer/video_out_rockbox.c +++ b/apps/plugins/mpegplayer/video_out_rockbox.c | |||
@@ -506,7 +506,8 @@ void vo_set_clip_rect(const struct vo_rect *rc) | |||
506 | #if NUM_CORES > 1 || !defined (HAVE_LCD_COLOR) | 506 | #if NUM_CORES > 1 || !defined (HAVE_LCD_COLOR) |
507 | void vo_lock(void) | 507 | void vo_lock(void) |
508 | { | 508 | { |
509 | #ifndef HAVE_LCD_COLOR | 509 | /* TODO: evaluate synchronization with graylib in the sim */ |
510 | #ifndef HAVE_LCD_COLOR && !defined(SIMULATOR) | ||
510 | set_irq_level(HIGHEST_IRQ_LEVEL); | 511 | set_irq_level(HIGHEST_IRQ_LEVEL); |
511 | #endif | 512 | #endif |
512 | video_lock(); | 513 | video_lock(); |
@@ -515,7 +516,7 @@ void vo_lock(void) | |||
515 | void vo_unlock(void) | 516 | void vo_unlock(void) |
516 | { | 517 | { |
517 | video_unlock(); | 518 | video_unlock(); |
518 | #ifndef HAVE_LCD_COLOR | 519 | #ifndef HAVE_LCD_COLOR && !defined(SIMULATOR) |
519 | set_irq_level(0); | 520 | set_irq_level(0); |
520 | #endif | 521 | #endif |
521 | } | 522 | } |