1
0
Fork 0
forked from len0rd/rockbox

Invadrox: Add support for 640x480 screens.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22151 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Karl Kurbjun 2009-08-04 05:22:10 +00:00
parent db9fe1ba23
commit c2480c33f7
13 changed files with 69 additions and 53 deletions

View file

@ -783,15 +783,14 @@ int plugin_load(const char* plugin, const void* parameter)
oldbars = viewportmanager_set_statusbar(VP_SB_HIDE_ALL);
#ifdef HAVE_TOUCHSCREEN
enum touchscreen_mode old_mode = touchscreen_get_mode();
touchscreen_set_mode(TOUCHSCREEN_BUTTON);
#endif
rc = hdr->entry_point(parameter);
/* Go back to the global setting in case the plugin changed it */
#ifdef HAVE_TOUCHSCREEN
touchscreen_set_mode(old_mode);
touchscreen_set_mode(global_settings.touch_mode);
#endif
viewportmanager_set_statusbar(oldbars);