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

version 1.48, 2004/01/11 19:22:01 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 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.48  
changed lines
  Added in v.1.49


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