Diff for /np2/pccore.c between versions 1.40 and 1.41

version 1.40, 2004/01/07 06:53:47 version 1.41, 2004/01/08 16:29:56
Line 31 Line 31
 #include        "sxsi.h"  #include        "sxsi.h"
 #include        "calendar.h"  #include        "calendar.h"
 #include        "timing.h"  #include        "timing.h"
 //#include      "hostdrv.h"  
 #include        "debugsub.h"  #include        "debugsub.h"
   #if defined(SUPPORT_HOSTDRV)
   // #include     "hostdrv.h"
   #endif
   
   
         const char      np2version[] = NP2VER_CORE;          const char      np2version[] = NP2VER_CORE;
Line 185  static void sound_init(void) { Line 187  static void sound_init(void) {
                 rate = 0;                  rate = 0;
         }          }
         sound_create(rate, np2cfg.delayms);          sound_create(rate, np2cfg.delayms);
   #if defined(SUPPORT_WAVEMIX)
           wavemix_initialize(rate);
   #endif
         beep_initialize(rate);          beep_initialize(rate);
         beep_setvol(np2cfg.BEEP_VOL);          beep_setvol(np2cfg.BEEP_VOL);
         tms3631_initialize(rate);          tms3631_initialize(rate);
Line 205  static void sound_init(void) { Line 210  static void sound_init(void) {
 static void sound_term(void) {  static void sound_term(void) {
   
         soundmng_stop();          soundmng_stop();
   #if defined(SUPPORT_WAVEMIX)
           wavemix_deinitialize();
   #endif
         rhythm_deinitialize();          rhythm_deinitialize();
         sound_destroy();          sound_destroy();
 }  }
Line 311  void pccore_reset(void) { Line 319  void pccore_reset(void) {
         nevent_init();          nevent_init();
   
         sound_reset();          sound_reset();
   #if defined(SUPPORT_WAVEMIX)
           wavemix_bind();
   #endif
   
         if (pc.model & PCMODEL_EPSON) {                         // RAM ctrl          if (pc.model & PCMODEL_EPSON) {                         // RAM ctrl
                 CPU_RAM_D000 = 0xffff;                  CPU_RAM_D000 = 0xffff;

Removed from v.1.40  
changed lines
  Added in v.1.41


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