diff options
| author | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-05-01 15:14:09 +0000 |
|---|---|---|
| committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-05-01 15:14:09 +0000 |
| commit | 1bad055d2a1d760738ed0cbc5bfad0eb6b876955 (patch) | |
| tree | e12924101ff9954e72a563dde0bd4fc514cc6cef | |
| parent | 2f6107fc2fc2cce2187902ac1a0aae4057b723e4 (diff) | |
| download | rockbox-1bad055d2a1d760738ed0cbc5bfad0eb6b876955.zip rockbox-1bad055d2a1d760738ed0cbc5bfad0eb6b876955.tar.gz rockbox-1bad055d2a1d760738ed0cbc5bfad0eb6b876955.tar.bz2 rockbox-1bad055d2a1d760738ed0cbc5bfad0eb6b876955.tar.xz | |
fix red and yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4569 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/plugin.c | 4 | ||||
| -rw-r--r-- | apps/plugin.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index f70b648..912445f 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -221,6 +221,9 @@ int plugin_load(char* plugin, void* parameter) #else int fd; #endif +#ifdef HAVE_LCD_BITMAP + int xm,ym; +#endif if (pfn_tsr_exit != NULL) /* if we have a resident old plugin: */ { @@ -229,7 +232,6 @@ int plugin_load(char* plugin, void* parameter) } #ifdef HAVE_LCD_BITMAP - int xm,ym; lcd_clear_display(); xm = lcd_getxmargin(); ym = lcd_getymargin(); diff --git a/apps/plugin.h b/apps/plugin.h index 2da469f..845db14 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -217,7 +217,7 @@ struct plugin_api { #endif void (*plugin_tsr)(void (*exit_callback)(void)); int (*create_thread)(void* function, void* stack, int stack_size, char *name); - void (*remove_tread)(void); + void (*remove_tread)(int threadnum); void (*lcd_set_contrast)(int x); /* playback control */ |