Diff for /np2/macosx/np2.cpp between versions 1.47 and 1.49

version 1.47, 2004/01/11 16:58:47 version 1.49, 2004/01/23 17:37:39
Line 26 Line 26
 #include        "s98.h"  #include        "s98.h"
 #include        "diskdrv.h"  #include        "diskdrv.h"
 #include        "fddfile.h"  #include        "fddfile.h"
 #include        "statsave.h"  
 #include        "mousemng.h"  #include        "mousemng.h"
 #include        "configure.h"  #include        "configure.h"
 #include        "screenopt.h"  #include        "screenopt.h"
Line 141  static void MenuBarInit(void) { Line 140  static void MenuBarInit(void) {
         InsertMenu(GetMenu(IDM_MEMORY), -1);          InsertMenu(GetMenu(IDM_MEMORY), -1);
     ChangeMenuAttributes(GetMenuRef(IDM_EDIT), kMenuAttrAutoDisable, 0);      ChangeMenuAttributes(GetMenuRef(IDM_EDIT), kMenuAttrAutoDisable, 0);
     DisableAllMenuItems(GetMenuHandle(IDM_EDIT));      DisableAllMenuItems(GetMenuHandle(IDM_EDIT));
     SetMenuItemModifiers(GetMenuRef(IDM_FDD2), IDM_FDD2OPEN, kMenuOptionModifier);      SetMenuItemModifiers(GetMenuRef(IDM_FDD2), IDM_FDD2OPEN, kMenuShiftModifier);
     SetMenuItemModifiers(GetMenuRef(IDM_FDD2), IDM_FDD2EJECT, kMenuOptionModifier);      SetMenuItemModifiers(GetMenuRef(IDM_FDD2), IDM_FDD2EJECT, kMenuShiftModifier);
     SetMenuItemModifiers(GetMenuRef(IDM_SASI2), IDM_SASI2OPEN, kMenuOptionModifier);      SetMenuItemModifiers(GetMenuRef(IDM_SASI2), IDM_SASI2OPEN, kMenuShiftModifier);
         DrawMenuBar();          DrawMenuBar();
 #else  #else
     OSStatus    err;      OSStatus    err;
Line 743  int main(int argc, char *argv[]) { Line 742  int main(int argc, char *argv[]) {
         S98_init();          S98_init();
   
     hid_init();      hid_init();
   #ifndef SUPPORT_WAVEMIX
         if (soundmng_initialize() == SUCCESS) {          if (soundmng_initialize() == SUCCESS) {
                 soundmng_pcmvolume(SOUND_PCMSEEK, np2cfg.MOTORVOL);                  soundmng_pcmvolume(SOUND_PCMSEEK, np2cfg.MOTORVOL);
                 soundmng_pcmvolume(SOUND_PCMSEEK1, np2cfg.MOTORVOL);                  soundmng_pcmvolume(SOUND_PCMSEEK1, np2cfg.MOTORVOL);
         }          }
   #endif
   
 #if defined(NP2GCC)  #if defined(NP2GCC)
         mousemng_initialize();          mousemng_initialize();
Line 865  int main(int argc, char *argv[]) { Line 866  int main(int argc, char *argv[]) {
 #if defined(NP2GCC)  #if defined(NP2GCC)
         mousemng_disable(MOUSEPROC_SYSTEM);          mousemng_disable(MOUSEPROC_SYSTEM);
 #endif  #endif
   #ifndef SUPPORT_WAVEMIX
         soundmng_deinitialize();          soundmng_deinitialize();
   #endif
         scrnmng_destroy();          scrnmng_destroy();
   
         if (sys_updates & (SYS_UPDATECFG | SYS_UPDATEOSCFG)) {          if (sys_updates & (SYS_UPDATECFG | SYS_UPDATEOSCFG)) {
Line 1177  static void toggleFullscreen(void) { Line 1179  static void toggleFullscreen(void) {
         np2oscfg.winx = bounds.left;          np2oscfg.winx = bounds.left;
         np2oscfg.winy = bounds.top;          np2oscfg.winy = bounds.top;
         DisposeWindow(hWndMain);          DisposeWindow(hWndMain);
         BeginFullScreen(&bkfullscreen, 0, &w, &h, &hWndMain, NULL, fullScreenAllowEvents);                BeginFullScreen(&bkfullscreen, 0, &w, &h, &hWndMain, NULL, fullScreenAllowEvents | fullScreenCaptureDisplay);   
         DisableMenuItem(menu, IDM_ROLNORMAL);          DisableMenuItem(menu, IDM_ROLNORMAL);
         DisableMenuItem(menu, IDM_ROLLEFT);          DisableMenuItem(menu, IDM_ROLLEFT);
         DisableMenuItem(menu, IDM_ROLRIGHT);          DisableMenuItem(menu, IDM_ROLRIGHT);

Removed from v.1.47  
changed lines
  Added in v.1.49


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