diff options
| author | Dave Chapman <dave@dchapman.com> | 2006-10-02 19:28:14 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2006-10-02 19:28:14 +0000 |
| commit | 7eb3d19138523f7c1b617b42258919d2588e8b84 (patch) | |
| tree | e3e2b2da80729b3cceda4f23b5480b1c2e4f7f01 /apps | |
| parent | 7f2c1a488777a980079c308e546dc9b0a0b12cdf (diff) | |
| download | rockbox-7eb3d19138523f7c1b617b42258919d2588e8b84.zip rockbox-7eb3d19138523f7c1b617b42258919d2588e8b84.tar.gz rockbox-7eb3d19138523f7c1b617b42258919d2588e8b84.tar.bz2 rockbox-7eb3d19138523f7c1b617b42258919d2588e8b84.tar.xz | |
iPod bugfix - re-enable scroll events when leaving rockboy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11110 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/plugins/rockboy/rockboy.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/apps/plugins/rockboy/rockboy.c b/apps/plugins/rockboy/rockboy.c index 3b26d93..d070fc0 100644 --- a/apps/plugins/rockboy/rockboy.c +++ b/apps/plugins/rockboy/rockboy.c @@ -170,10 +170,6 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) rb->lcd_setfont(0); -#ifdef HAVE_WHEEL_POSITION - rb->wheel_send_events(false); -#endif - #if defined(HAVE_LCD_COLOR) rb->lcd_set_foreground(LCD_WHITE); rb->lcd_set_background(LCD_BLACK); @@ -203,11 +199,19 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) shut=0; cleanshut=0; +#ifdef HAVE_WHEEL_POSITION + rb->wheel_send_events(false); +#endif + /* now go ahead and have fun! */ /* rb->splash(HZ*2, true, "Rockboy v0.3"); */ /* rb->lcd_clear_display(); */ gnuboy_main(parameter); +#ifdef HAVE_WHEEL_POSITION + rb->wheel_send_events(true); +#endif + if(shut&&!cleanshut) { rb->splash(HZ/2, true, errormsg); |