forked from len0rd/rockbox
Clix: Forgot ifdefs around touchscreen_set_mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22133 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4bc1646263
commit
f011154728
1 changed files with 4 additions and 0 deletions
|
|
@ -609,8 +609,10 @@ static int clix_menu(struct clix_game_state_t* state, bool ingame)
|
||||||
"Playback Control",
|
"Playback Control",
|
||||||
"Quit");
|
"Quit");
|
||||||
|
|
||||||
|
#ifdef HAVE_TOUCHSCREEN
|
||||||
/* Entering Menu, set the touchscreen to the global setting */
|
/* Entering Menu, set the touchscreen to the global setting */
|
||||||
rb->touchscreen_set_mode(rb->global_settings->touch_mode);
|
rb->touchscreen_set_mode(rb->global_settings->touch_mode);
|
||||||
|
#endif
|
||||||
|
|
||||||
while (!leave_menu) {
|
while (!leave_menu) {
|
||||||
|
|
||||||
|
|
@ -646,8 +648,10 @@ static int clix_menu(struct clix_game_state_t* state, bool ingame)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_TOUCHSCREEN
|
||||||
/* Leaving the menu, set back to pointer mode */
|
/* Leaving the menu, set back to pointer mode */
|
||||||
rb->touchscreen_set_mode(TOUCHSCREEN_POINT);
|
rb->touchscreen_set_mode(TOUCHSCREEN_POINT);
|
||||||
|
#endif
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue