diff --git a/src/game/fmb.c b/src/game/fmb.c index 2fe4c2c05..f6de5aadd 100644 --- a/src/game/fmb.c +++ b/src/game/fmb.c @@ -585,6 +585,16 @@ struct menuitem g_MainMenu4MbMenuItems[] = { 0, (void *)&g_ChangeAgentMenuDialog, }, +#ifndef PLATFORM_N64 + { + MENUITEMTYPE_SELECTABLE, + 0, + MENUITEMFLAG_SELECTABLE_OPENSDIALOG | MENUITEMFLAG_BIGFONT, + L_OPTIONS_110, // "Exit Game" + 0x00000007, + (void *)&g_ExitGameMenuDialog, + }, +#endif { MENUITEMTYPE_END }, }; diff --git a/src/include/game/mainmenu.h b/src/include/game/mainmenu.h index 349d7458c..c44cd7c7d 100644 --- a/src/include/game/mainmenu.h +++ b/src/include/game/mainmenu.h @@ -10,6 +10,9 @@ extern struct menudialogdef g_AcceptMissionMenuDialog; extern struct menudialogdef g_PreAndPostMissionBriefingMenuDialog; extern struct menudialogdef g_RetryMissionMenuDialog; extern struct menudialogdef g_NextMissionMenuDialog; +#ifndef PLATFORM_N64 +extern struct menudialogdef g_ExitGameMenuDialog; +#endif char *menuTextCurrentStageName(struct menuitem *item); char *soloMenuTextDifficulty(struct menuitem *item);