diff options
Diffstat (limited to 'apps/plugins/xobox.c')
-rw-r--r-- | apps/plugins/xobox.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/xobox.c b/apps/plugins/xobox.c index 22286b0d72..c486e1b4c7 100644 --- a/apps/plugins/xobox.c +++ b/apps/plugins/xobox.c | |||
@@ -22,6 +22,7 @@ | |||
22 | 22 | ||
23 | #include "plugin.h" | 23 | #include "plugin.h" |
24 | #include "lib/helper.h" | 24 | #include "lib/helper.h" |
25 | #include "lib/playback_control.h" | ||
25 | 26 | ||
26 | PLUGIN_HEADER | 27 | PLUGIN_HEADER |
27 | 28 | ||
@@ -901,7 +902,7 @@ static inline void move_board (void) | |||
901 | static int game_menu (void) | 902 | static int game_menu (void) |
902 | { | 903 | { |
903 | MENUITEM_STRINGLIST(menu, "XOBOX Menu", NULL, "Start New Game", | 904 | MENUITEM_STRINGLIST(menu, "XOBOX Menu", NULL, "Start New Game", |
904 | "Speed","Difficulty","Quit"); | 905 | "Speed","Difficulty","Playback Control","Quit"); |
905 | int selection = 0; | 906 | int selection = 0; |
906 | #ifdef HAVE_LCD_COLOR | 907 | #ifdef HAVE_LCD_COLOR |
907 | rb->lcd_set_foreground (rb->global_settings->fg_color); | 908 | rb->lcd_set_foreground (rb->global_settings->fg_color); |
@@ -917,6 +918,8 @@ static int game_menu (void) | |||
917 | else if (selection==2) | 918 | else if (selection==2) |
918 | rb->set_int ("Difficulty", "", UNIT_INT, &difficulty, NULL, | 919 | rb->set_int ("Difficulty", "", UNIT_INT, &difficulty, NULL, |
919 | 5, 50, 95, NULL); | 920 | 5, 50, 95, NULL); |
921 | else if (selection==3) | ||
922 | playback_control (NULL); | ||
920 | else | 923 | else |
921 | break; | 924 | break; |
922 | } | 925 | } |