diff options
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index b75bfe65bd..b0a57d6744 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -679,10 +679,9 @@ static const struct plugin_api rockbox_api = { | |||
679 | 679 | ||
680 | int plugin_load(const char* plugin, const void* parameter) | 680 | int plugin_load(const char* plugin, const void* parameter) |
681 | { | 681 | { |
682 | int rc, i; | 682 | int rc; |
683 | int oldbars; | 683 | int oldbars; |
684 | struct plugin_header *hdr; | 684 | struct plugin_header *hdr; |
685 | struct viewport plugin_vp[NB_SCREENS]; | ||
686 | #ifdef SIMULATOR | 685 | #ifdef SIMULATOR |
687 | void *pd; | 686 | void *pd; |
688 | #else /* !SIMULATOR */ | 687 | #else /* !SIMULATOR */ |
@@ -789,11 +788,6 @@ int plugin_load(const char* plugin, const void* parameter) | |||
789 | 788 | ||
790 | oldbars = viewportmanager_set_statusbar(VP_SB_HIDE_ALL); | 789 | oldbars = viewportmanager_set_statusbar(VP_SB_HIDE_ALL); |
791 | 790 | ||
792 | FOR_NB_SCREENS(i) | ||
793 | viewport_set_fullscreen(&plugin_vp[i], i); | ||
794 | |||
795 | viewport_set_current_vp(plugin_vp); | ||
796 | |||
797 | cpucache_invalidate(); | 791 | cpucache_invalidate(); |
798 | 792 | ||
799 | #ifdef HAVE_TOUCHSCREEN | 793 | #ifdef HAVE_TOUCHSCREEN |
@@ -835,7 +829,6 @@ int plugin_load(const char* plugin, const void* parameter) | |||
835 | #endif | 829 | #endif |
836 | 830 | ||
837 | viewportmanager_set_statusbar(oldbars); | 831 | viewportmanager_set_statusbar(oldbars); |
838 | viewport_set_current_vp(NULL); | ||
839 | 832 | ||
840 | if (rc != PLUGIN_GOTO_WPS) | 833 | if (rc != PLUGIN_GOTO_WPS) |
841 | { | 834 | { |