Diff for /np2/macosx/np2.cpp between versions 1.23 and 1.25

version 1.23, 2003/10/28 16:44:44 version 1.25, 2003/10/30 19:39:52
Line 34 Line 34
 #include        "macnewdisk.h"  #include        "macnewdisk.h"
 #include        "fdefine.h"  #include        "fdefine.h"
 #include        "hid.h"  #include        "hid.h"
   #include        "midiopt.h"
   
 #define USE_RESUME  #define USE_RESUME
 #define NP2OPENING  #define NP2OPENING
Line 146  static void MenuBarInit(void) { Line 147  static void MenuBarInit(void) {
         InsertMenu(GetMenu(IDM_KEYBOARD), -1);          InsertMenu(GetMenu(IDM_KEYBOARD), -1);
         InsertMenu(GetMenu(IDM_SOUND), -1);          InsertMenu(GetMenu(IDM_SOUND), -1);
         InsertMenu(GetMenu(IDM_MEMORY), -1);          InsertMenu(GetMenu(IDM_MEMORY), -1);
       SetMenuItemModifiers(GetMenuRef(IDM_FDD2), IDM_FDD2OPEN, kMenuOptionModifier);
       SetMenuItemModifiers(GetMenuRef(IDM_FDD2), IDM_FDD2EJECT, kMenuOptionModifier);
       SetMenuItemModifiers(GetMenuRef(IDM_SASI2), IDM_SASI2OPEN, kMenuOptionModifier);
         DrawMenuBar();          DrawMenuBar();
 #else  #else
     OSStatus    err;      OSStatus    err;
Line 326  static void HandleMenuChoice(long wParam Line 330  static void HandleMenuChoice(long wParam
             toggleMenubar();              toggleMenubar();
                         break;                          break;
                           
           case IDM_MIDIOPT:
               initMidiOpt();
               break;
               
                 case IDM_MIDIPANIC:                  case IDM_MIDIPANIC:
                         rs232c_midipanic();                          rs232c_midipanic();
                         mpu98ii_midipanic();                          mpu98ii_midipanic();
Line 487  static void HandleMenuChoice(long wParam Line 495  static void HandleMenuChoice(long wParam
                         dialog_writebmp();                          dialog_writebmp();
                         break;                          break;
   
 #if 0  
         case IDM_S98LOGGING:          case IDM_S98LOGGING:
             menu_sets98logging(S98_logging());              dialog_s98();
             break;              break;
 #endif  
                           
                 case IDM_DISPCLOCK:                  case IDM_DISPCLOCK:
                         menu_setdispclk(np2oscfg.DISPCLK ^ 1);                          menu_setdispclk(np2oscfg.DISPCLK ^ 1);
Line 513  static void HandleMenuChoice(long wParam Line 519  static void HandleMenuChoice(long wParam
                         update |= SYS_UPDATECFG;                          update |= SYS_UPDATECFG;
                         break;                          break;
   
           case IDM_MSRAPID:
               menu_setmsrapid(np2cfg.MOUSERAPID ^ 1);
               update |= SYS_UPDATECFG;
               break;
   
                 case IDM_I286SAVE:                  case IDM_I286SAVE:
                         debugsub_status();                          debugsub_status();
                         break;                          break;

Removed from v.1.23  
changed lines
  Added in v.1.25


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