summaryrefslogtreecommitdiff
path: root/apps/plugins/minesweeper.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/minesweeper.c')
-rw-r--r--apps/plugins/minesweeper.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/plugins/minesweeper.c b/apps/plugins/minesweeper.c
index 4adfc07d0e..eeae12be64 100644
--- a/apps/plugins/minesweeper.c
+++ b/apps/plugins/minesweeper.c
@@ -23,6 +23,8 @@
23 23
24#ifdef HAVE_LCD_BITMAP 24#ifdef HAVE_LCD_BITMAP
25 25
26#include "lib/playback_control.h"
27
26PLUGIN_HEADER 28PLUGIN_HEADER
27 29
28/* what the minesweeper() function can return */ 30/* what the minesweeper() function can return */
@@ -548,7 +550,7 @@ enum minesweeper_status menu( void )
548 550
549 MENUITEM_STRINGLIST( menu, "Minesweeper Menu", NULL, "Play Minesweeper", 551 MENUITEM_STRINGLIST( menu, "Minesweeper Menu", NULL, "Play Minesweeper",
550 "Mine Percentage", "Number of Rows", 552 "Mine Percentage", "Number of Rows",
551 "Number of Columns", "Quit" ); 553 "Number of Columns", "Playback Control", "Quit" );
552 554
553#ifdef HAVE_LCD_COLOR 555#ifdef HAVE_LCD_COLOR
554 rb->lcd_set_foreground( rb->global_settings->fg_color ); 556 rb->lcd_set_foreground( rb->global_settings->fg_color );
@@ -579,6 +581,10 @@ enum minesweeper_status menu( void )
579 1, 1, MAX_WIDTH, NULL ); 581 1, 1, MAX_WIDTH, NULL );
580 break; 582 break;
581 583
584 case 4:
585 playback_control( NULL );
586 break;
587
582 default: 588 default:
583 result = MINESWEEPER_QUIT; /* quit program */ 589 result = MINESWEEPER_QUIT; /* quit program */
584 menu_quit = true; 590 menu_quit = true;