diff options
| author | Kevin Ferrare <kevin@rockbox.org> | 2007-07-25 09:38:55 +0000 |
|---|---|---|
| committer | Kevin Ferrare <kevin@rockbox.org> | 2007-07-25 09:38:55 +0000 |
| commit | ac017781e02e361074fd4da3b3eeb14745f79f03 (patch) | |
| tree | ec3ce8eb8001b5d0d6822292ed443797b6ae1103 /apps/plugins/iriverify.c | |
| parent | 9b8925e56de605e22aff3700d1cd13c70814b25f (diff) | |
| download | rockbox-ac017781e02e361074fd4da3b3eeb14745f79f03.zip rockbox-ac017781e02e361074fd4da3b3eeb14745f79f03.tar.gz rockbox-ac017781e02e361074fd4da3b3eeb14745f79f03.tar.bz2 rockbox-ac017781e02e361074fd4da3b3eeb14745f79f03.tar.xz | |
Ported the archos player's jackpot plugin to bitmaps LCD (still need some neat bitmaps), multi screen support for jackpot plugin and iriverify
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13978 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/iriverify.c')
| -rw-r--r-- | apps/plugins/iriverify.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/plugins/iriverify.c b/apps/plugins/iriverify.c index 135cee3..b578cf7 100644 --- a/apps/plugins/iriverify.c +++ b/apps/plugins/iriverify.c @@ -134,7 +134,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) { char *buf; int rc; - + int i; filename = (char *)parameter; rb = api; @@ -143,31 +143,31 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) stringbuffer = buf; - rb->lcd_clear_display(); + FOR_NB_SCREENS(i) + rb->screens[i]->clear_display(); rb->splash(0, "Converting..."); rc = read_buffer(0); + FOR_NB_SCREENS(i) + rb->screens[i]->clear_display(); if(rc == 0) { - rb->lcd_clear_display(); rb->splash(0, "Writing..."); rc = write_file(); + FOR_NB_SCREENS(i) + rb->screens[i]->clear_display(); if(rc < 0) { - rb->lcd_clear_display(); rb->splash(HZ, "Can't write file: %d", rc); } else { - rb->lcd_clear_display(); rb->splash(HZ, "Done"); } } else { if(rc < 0) { - rb->lcd_clear_display(); rb->splash(HZ, "Can't read file: %d", rc); } else { - rb->lcd_clear_display(); rb->splash(HZ, "The file is too big"); } } - + return PLUGIN_OK; } |