Minor code style fixes
This commit is contained in:
parent
a3f167ee04
commit
ade4a509e9
|
@ -77,10 +77,8 @@ int menu_gamecfg(struct menu_common *const c)
|
||||||
gui_add_child(&m.bcnt.common, &m.back.common);
|
gui_add_child(&m.bcnt.common, &m.back.common);
|
||||||
|
|
||||||
while (!back && !c->p.common.exit && !start)
|
while (!back && !c->p.common.exit && !start)
|
||||||
{
|
|
||||||
if (menu_update(c, update, render, &m))
|
if (menu_update(c, update, render, &m))
|
||||||
return -1;
|
return -1;
|
||||||
}
|
|
||||||
|
|
||||||
if (start)
|
if (start)
|
||||||
return game(NULL);
|
return game(NULL);
|
||||||
|
|
|
@ -66,7 +66,7 @@ int menu(void)
|
||||||
struct menu_common c = {0};
|
struct menu_common c = {0};
|
||||||
|
|
||||||
if (game_resinit())
|
if (game_resinit())
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
cursor_init(&c.cam.cursor);
|
cursor_init(&c.cam.cursor);
|
||||||
peripheral_init(&cfg, &c.p);
|
peripheral_init(&cfg, &c.p);
|
||||||
|
|
Loading…
Reference in New Issue