diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-01-03 17:30:50 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-01-03 17:30:50 +0000 |
commit | d9a895599ecc3d74684e546c730842283255b24e (patch) | |
tree | d6583e542e87e15d773d63c51675f059943e6e3f /apps/plugins/mpegplayer | |
parent | a5fc3f4df4bec2b6ae1c22fb83cf495f31773122 (diff) | |
download | rockbox-d9a895599ecc3d74684e546c730842283255b24e.tar.gz rockbox-d9a895599ecc3d74684e546c730842283255b24e.zip |
Fix some warnings/errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15992 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer')
-rw-r--r-- | apps/plugins/mpegplayer/mpegplayer.c | 5 | ||||
-rw-r--r-- | apps/plugins/mpegplayer/video_out_rockbox.c | 5 |
2 files changed, 3 insertions, 7 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c index e9f6b9011f..8ea4ee3abd 100644 --- a/apps/plugins/mpegplayer/mpegplayer.c +++ b/apps/plugins/mpegplayer/mpegplayer.c | |||
@@ -303,11 +303,6 @@ static unsigned draw_blendcolor(unsigned c1, unsigned c2, unsigned char amount) | |||
303 | } | 303 | } |
304 | #endif | 304 | #endif |
305 | 305 | ||
306 | static void draw_fill_rect(int x, int y, int width, int height) | ||
307 | { | ||
308 | rb->lcd_fillrect(_X, _Y, _W, _H); | ||
309 | } | ||
310 | |||
311 | #ifdef HAVE_LCD_COLOR | 306 | #ifdef HAVE_LCD_COLOR |
312 | static void draw_update_rect(int x, int y, int width, int height) | 307 | static void draw_update_rect(int x, int y, int width, int height) |
313 | { | 308 | { |
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 | } |