summaryrefslogtreecommitdiff
path: root/apps/plugins/chessbox
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/chessbox')
-rw-r--r--apps/plugins/chessbox/chessbox.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/plugins/chessbox/chessbox.c b/apps/plugins/chessbox/chessbox.c
index 1504f8a7cb..5f67d44808 100644
--- a/apps/plugins/chessbox/chessbox.c
+++ b/apps/plugins/chessbox/chessbox.c
@@ -25,6 +25,7 @@
25 25
26#ifdef HAVE_LCD_BITMAP 26#ifdef HAVE_LCD_BITMAP
27 27
28#include "lib/playback_control.h"
28#include "gnuchess.h" 29#include "gnuchess.h"
29#include "opening.h" 30#include "opening.h"
30#include "chessbox_pgn.h" 31#include "chessbox_pgn.h"
@@ -587,7 +588,8 @@ static int cb_menu(void)
587 bool menu_quit = false; 588 bool menu_quit = false;
588 589
589 MENUITEM_STRINGLIST(menu,"Chessbox Menu",NULL,"New Game","Resume Game", 590 MENUITEM_STRINGLIST(menu,"Chessbox Menu",NULL,"New Game","Resume Game",
590 "Save Game", "Restore Game", "Quit"); 591 "Save Game", "Restore Game", "Playback Control",
592 "Quit");
591 593
592 while(!menu_quit) 594 while(!menu_quit)
593 { 595 {
@@ -610,6 +612,9 @@ static int cb_menu(void)
610 menu_quit = true; 612 menu_quit = true;
611 break; 613 break;
612 case 4: 614 case 4:
615 playback_control(NULL);
616 break;
617 case 5:
613 result = COMMAND_QUIT; 618 result = COMMAND_QUIT;
614 menu_quit = true; 619 menu_quit = true;
615 break; 620 break;