diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-02-26 17:10:27 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-02-26 17:10:27 +0000 |
commit | 15dbde1ab76cebd553e278a144e3e56d3b1f39d4 (patch) | |
tree | 08ba4cee139b1486abb64b97ea6e58b86d3c5415 /apps/plugins/superdom.c | |
parent | af59e2ac3114a16e25a76c611a179670b101c0b1 (diff) | |
download | rockbox-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/superdom.c')
-rw-r--r-- | apps/plugins/superdom.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugins/superdom.c b/apps/plugins/superdom.c index 5d9cf7ff00..31f04b3b02 100644 --- a/apps/plugins/superdom.c +++ b/apps/plugins/superdom.c | |||
@@ -19,6 +19,7 @@ | |||
19 | * | 19 | * |
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | #include "plugin.h" | 21 | #include "plugin.h" |
22 | #include "lib/playback_control.h" | ||
22 | PLUGIN_HEADER | 23 | PLUGIN_HEADER |
23 | 24 | ||
24 | extern const fb_data superdom_boarditems[]; | 25 | extern const fb_data superdom_boarditems[]; |
@@ -714,7 +715,7 @@ int ingame_menu(void) { | |||
714 | int selection = 0; | 715 | int selection = 0; |
715 | 716 | ||
716 | MENUITEM_STRINGLIST(ingame_menu,"Super Domination Menu",NULL, | 717 | MENUITEM_STRINGLIST(ingame_menu,"Super Domination Menu",NULL, |
717 | "Return to game","Save Game", "Quit"); | 718 | "Return to game","Save Game","Playback Control", "Quit"); |
718 | 719 | ||
719 | selection=rb->do_menu(&ingame_menu,&selection, NULL, false); | 720 | selection=rb->do_menu(&ingame_menu,&selection, NULL, false); |
720 | switch(selection) { | 721 | switch(selection) { |
@@ -728,6 +729,9 @@ int ingame_menu(void) { | |||
728 | rb->splash(HZ, "Error in save"); | 729 | rb->splash(HZ, "Error in save"); |
729 | break; | 730 | break; |
730 | case 2: | 731 | case 2: |
732 | playback_control(NULL); | ||
733 | break; | ||
734 | case 3: | ||
731 | return SUPERDOM_QUIT; | 735 | return SUPERDOM_QUIT; |
732 | break; | 736 | break; |
733 | case MENU_ATTACHED_USB: | 737 | case MENU_ATTACHED_USB: |