summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockboy/menu.c')
-rw-r--r--apps/plugins/rockboy/menu.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/plugins/rockboy/menu.c b/apps/plugins/rockboy/menu.c
index ab27f3dece..8139437bb5 100644
--- a/apps/plugins/rockboy/menu.c
+++ b/apps/plugins/rockboy/menu.c
@@ -11,6 +11,7 @@
11#include "save.h" 11#include "save.h"
12#include "rtc-gb.h" 12#include "rtc-gb.h"
13#include "pcm.h" 13#include "pcm.h"
14#include "emu.h"
14 15
15#define SLOT_COUNT 50 16#define SLOT_COUNT 50
16#define DESC_SIZE 20 17#define DESC_SIZE 20
@@ -89,7 +90,7 @@ int do_user_menu(void) {
89 90
90 MENUITEM_STRINGLIST(menu, "Rockboy Menu", NULL, 91 MENUITEM_STRINGLIST(menu, "Rockboy Menu", NULL,
91 "Load Game", "Save Game", 92 "Load Game", "Save Game",
92 "Options", "Quit"); 93 "Options", "Reset", "Quit");
93 94
94 rockboy_pcm_init(); 95 rockboy_pcm_init();
95 96
@@ -108,7 +109,11 @@ int do_user_menu(void) {
108 case 2: /* Options */ 109 case 2: /* Options */
109 do_opt_menu(); 110 do_opt_menu();
110 break; 111 break;
111 case 3: /* Quit */ 112 case 3: /* Reset */
113 emu_reset();
114 done=true;
115 break;
116 case 4: /* Quit */
112 ret = USER_MENU_QUIT; 117 ret = USER_MENU_QUIT;
113 done=true; 118 done=true;
114 break; 119 break;