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.zip rockbox-d9a895599ecc3d74684e546c730842283255b24e.tar.gz rockbox-d9a895599ecc3d74684e546c730842283255b24e.tar.bz2 rockbox-d9a895599ecc3d74684e546c730842283255b24e.tar.xz | |
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 e9f6b90..8ea4ee3 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) } #endif -static void draw_fill_rect(int x, int y, int width, int height) -{ - rb->lcd_fillrect(_X, _Y, _W, _H); -} - #ifdef HAVE_LCD_COLOR static void draw_update_rect(int x, int y, int width, int height) { diff --git a/apps/plugins/mpegplayer/video_out_rockbox.c b/apps/plugins/mpegplayer/video_out_rockbox.c index 6efbaf0..239d327 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) #if NUM_CORES > 1 || !defined (HAVE_LCD_COLOR) void vo_lock(void) { -#ifndef HAVE_LCD_COLOR +/* TODO: evaluate synchronization with graylib in the sim */ +#ifndef HAVE_LCD_COLOR && !defined(SIMULATOR) set_irq_level(HIGHEST_IRQ_LEVEL); #endif video_lock(); @@ -515,7 +516,7 @@ void vo_lock(void) void vo_unlock(void) { video_unlock(); -#ifndef HAVE_LCD_COLOR +#ifndef HAVE_LCD_COLOR && !defined(SIMULATOR) set_irq_level(0); #endif } |