1
0
Fork 0
forked from len0rd/rockbox

Remove touchscreen mode setting from reversi. It's now done in do_menu().

Change-Id: I82e1f0050d7102d6191422b268a1a3acdd71501c
This commit is contained in:
Thomas Martitz 2012-01-29 23:17:19 +01:00
parent 3e0f2b3e1c
commit d216cc7654

View file

@ -430,11 +430,6 @@ static bool reversi_gui_menu(void) {
MENU_TEXT_STRAT_BLACK, MENU_TEXT_STRAT_WHITE,
MENU_TEXT_WRAP_MODE, "Playback Control", "Quit");
#ifdef HAVE_TOUCHSCREEN
/* Entering Menu, set the touchscreen to the global setting */
rb->touchscreen_set_mode(rb->global_settings->touch_mode);
#endif
result = rb->do_menu(&menu, NULL, NULL, false);
switch (result) {
@ -478,11 +473,6 @@ static bool reversi_gui_menu(void) {
break;
}
#ifdef HAVE_TOUCHSCREEN
/* Leaving the menu, set back to pointer mode */
rb->touchscreen_set_mode(TOUCHSCREEN_POINT);
#endif
return (result == MENU_ATTACHED_USB);
}