Diff for /xmil/win9x/menu.cpp between versions 1.11 and 1.12

version 1.11, 2004/08/12 11:03:09 version 1.12, 2004/08/12 17:57:36
Line 104  void sysmenu_setbgsound(UINT8 value) { Line 104  void sysmenu_setbgsound(UINT8 value) {
   
 // ----  // ----
   
   #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<SUPPORT_STATSAVE; i++) {
                   OEMSPRINTF(buf, xmenu_statsave, i);
                   AppendMenu(hSubMenu, MF_STRING, IDM_FLAGSAVE + i, buf);
           }
           AppendMenu(hSubMenu, MF_MENUBARBREAK, 0, NULL);
           for (i=0; i<SUPPORT_STATSAVE; i++) {
                   OEMSPRINTF(buf, xmenu_statload, i);
                   AppendMenu(hSubMenu, MF_STRING, IDM_FLAGLOAD + i, buf);
           }
           InsertMenu(hMenu, pos, MF_BYPOSITION | MF_POPUP,
                                                                                           (UINT32)hSubMenu, xmenu_stat);
   }
   #endif
   
 void menu_initialize(void) {  void menu_initialize(void) {
   
         HMENU   hMenu;          HMENU   hMenu;
Line 129  void menu_initialize(void) { Line 155  void menu_initialize(void) {
 //      }  //      }
   
 #if defined(SUPPORT_STATSAVE)  #if defined(SUPPORT_STATSAVE)
         if (np2oscfg.statsave) {          if (xmiloscfg.statsave) {
                 addstatsavemenu(hMenu, 1);                  addstatsavemenu(hMenu, 1);
         }          }
 #endif  #endif

Removed from v.1.11  
changed lines
  Added in v.1.12


RetroPC.NET-CVS <cvs@retropc.net>