Diff for /np2/fdd/fdd_mtr.c between versions 1.1 and 1.2

version 1.1, 2003/10/16 17:58:29 version 1.2, 2004/01/08 16:29:56
Line 2 Line 2
 #include        "soundmng.h"  #include        "soundmng.h"
 #include        "pccore.h"  #include        "pccore.h"
 #include        "fdd_mtr.h"  #include        "fdd_mtr.h"
   #if defined(SUPPORT_WAVEMIX)
   #include        "wavemix.h"
   #endif
   
   
                 int             fddmtr_biosbusy = 0;                                                    // ver0.26                  int             fddmtr_biosbusy = 0;                                                    // ver0.26
Line 20  static void fddmtr_event(void) { Line 23  static void fddmtr_event(void) {
   
         switch(mtr_curevent) {          switch(mtr_curevent) {
                 case 100:                  case 100:
   #if defined(SUPPORT_WAVEMIX)
                           wavemix_stop(SOUND_PCMSEEK);
   #else
                         soundmng_pcmstop(SOUND_PCMSEEK);                          soundmng_pcmstop(SOUND_PCMSEEK);
   #endif
                         mtr_curevent = 0;                          mtr_curevent = 0;
                         break;                          break;
   
Line 73  void fddmtr_seek(BYTE drv, BYTE c, UINT  Line 80  void fddmtr_seek(BYTE drv, BYTE c, UINT 
         if (regmove == 1) {          if (regmove == 1) {
                 if (mtr_curevent < 80) {                  if (mtr_curevent < 80) {
                         fddmtr_event();                          fddmtr_event();
   #if defined(SUPPORT_WAVEMIX)
                           wavemix_play(SOUND_PCMSEEK1, FALSE);
   #else
                         soundmng_pcmplay(SOUND_PCMSEEK1, FALSE);                          soundmng_pcmplay(SOUND_PCMSEEK1, FALSE);
   #endif
                         mtr_curevent = 80;                          mtr_curevent = 80;
                         nextevent = GETTICK() + MOVEMOTOR1_MS;                          nextevent = GETTICK() + MOVEMOTOR1_MS;
                 }                  }
Line 81  void fddmtr_seek(BYTE drv, BYTE c, UINT  Line 92  void fddmtr_seek(BYTE drv, BYTE c, UINT 
         else if (regmove) {          else if (regmove) {
                 if (mtr_curevent < 100) {                  if (mtr_curevent < 100) {
                         fddmtr_event();                          fddmtr_event();
   #if defined(SUPPORT_WAVEMIX)
                           wavemix_play(SOUND_PCMSEEK, TRUE);
   #else
                         soundmng_pcmplay(SOUND_PCMSEEK, TRUE);                          soundmng_pcmplay(SOUND_PCMSEEK, TRUE);
   #endif
                         mtr_curevent = 100;                          mtr_curevent = 100;
                         nextevent = GETTICK() + (regmove * MOVE1TCK_MS);                          nextevent = GETTICK() + (regmove * MOVE1TCK_MS);
                 }                  }

Removed from v.1.1  
changed lines
  Added in v.1.2


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