summaryrefslogtreecommitdiff
path: root/apps/plugins/xobox.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-02-26 17:10:27 +0000
committerThomas Martitz <kugel@rockbox.org>2009-02-26 17:10:27 +0000
commit15dbde1ab76cebd553e278a144e3e56d3b1f39d4 (patch)
tree08ba4cee139b1486abb64b97ea6e58b86d3c5415 /apps/plugins/xobox.c
parentaf59e2ac3114a16e25a76c611a179670b101c0b1 (diff)
downloadrockbox-15dbde1ab76cebd553e278a144e3e56d3b1f39d4.tar.gz
rockbox-15dbde1ab76cebd553e278a144e3e56d3b1f39d4.zip
Accept the first patch at FS#9953 - Add Playback Control to more plugins, by Joshua Simmons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20111 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/xobox.c')
-rw-r--r--apps/plugins/xobox.c5
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
26PLUGIN_HEADER 27PLUGIN_HEADER
27 28
@@ -901,7 +902,7 @@ static inline void move_board (void)
901static int game_menu (void) 902static 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 }