summaryrefslogtreecommitdiff
path: root/apps/plugins/snake.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/snake.c')
-rw-r--r--apps/plugins/snake.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/snake.c b/apps/plugins/snake.c
index c885f4ccae..f60ddfe3de 100644
--- a/apps/plugins/snake.c
+++ b/apps/plugins/snake.c
@@ -496,8 +496,11 @@ static void snake_game_init(void) {
496 board[11][7]=1; 496 board[11][7]=1;
497} 497}
498 498
499static int snake_menu_cb(int action, const struct menu_item_ex *this_item) 499static int snake_menu_cb(int action,
500 const struct menu_item_ex *this_item,
501 struct gui_synclist *this_list)
500{ 502{
503 (void)this_list;
501 if(action == ACTION_REQUEST_MENUITEM 504 if(action == ACTION_REQUEST_MENUITEM
502 && !ingame && ((intptr_t)this_item)==0) 505 && !ingame && ((intptr_t)this_item)==0)
503 return ACTION_EXIT_MENUITEM; 506 return ACTION_EXIT_MENUITEM;