mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
db9fe1ba23
commit
c2480c33f7
13 changed files with 69 additions and 53 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue