--- xmil/win9x/menu.cpp 2004/08/02 13:38:46 1.2 +++ xmil/win9x/menu.cpp 2004/08/17 12:30:41 1.13 @@ -7,8 +7,8 @@ #include "pccore.h" #include "ini.h" #include "menu.h" -#include "draw.h" #include "palettes.h" +#include "makescrn.h" #include "fdd_mtr.h" #include "fdd_ini.h" @@ -104,7 +104,70 @@ void sysmenu_setbgsound(UINT8 value) { // ---- -void xmenu_disablewindow(void) { +#if defined(SUPPORT_STATSAVE) +static const OEMCHAR xmenu_stat[] = OEMTEXT("S&tat"); +static const OEMCHAR xmenu_statsave[] = OEMTEXT("Save %u"); +static const OEMCHAR xmenu_statload[] = OEMTEXT("Load %u"); + +static void addstatsavemenu(HMENU hMenu, UINT pos) { + + HMENU hSubMenu; + UINT i; + OEMCHAR buf[16]; + + hSubMenu = CreatePopupMenu(); + for (i=0; i