aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/menu/src/gamecfg_menu.c2
-rw-r--r--src/menu/src/menu.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/menu/src/gamecfg_menu.c b/src/menu/src/gamecfg_menu.c
index 9fc3873..2cdd48f 100644
--- a/src/menu/src/gamecfg_menu.c
+++ b/src/menu/src/gamecfg_menu.c
@@ -77,10 +77,8 @@ int menu_gamecfg(struct menu_common *const c)
gui_add_child(&m.bcnt.common, &m.back.common);
while (!back && !c->p.common.exit && !start)
- {
if (menu_update(c, update, render, &m))
return -1;
- }
if (start)
return game(NULL);
diff --git a/src/menu/src/menu.c b/src/menu/src/menu.c
index a8df6e9..200023c 100644
--- a/src/menu/src/menu.c
+++ b/src/menu/src/menu.c
@@ -66,7 +66,7 @@ int menu(void)
struct menu_common c = {0};
if (game_resinit())
- return -1;
+ return -1;
cursor_init(&c.cam.cursor);
peripheral_init(&cfg, &c.p);