Diff for /xmil/sound/opmgenc.c between versions 1.5 and 1.7

version 1.5, 2004/08/10 10:17:39 version 1.7, 2005/02/04 06:42:12
Line 1 Line 1
 #include        "compiler.h"  #include        "compiler.h"
   
   #if defined(SUPPORT_TURBOZ) || defined(SUPPORT_OPM)
   
 #include        <math.h>  #include        <math.h>
 #include        "sound.h"  #include        "sound.h"
 #include        "sndctrl.h"  #include        "sndctrl.h"
Line 118  void opmgen_initialize(UINT rate) { Line 121  void opmgen_initialize(UINT rate) {
         detune2table[3] = D2(3.0);          detune2table[3] = D2(3.0);
 }  }
   
   void opmgen_setvol(UINT vol) {
   
           opmcfg.fmvol = vol;
   }
   
   
 // ----  // ----
   
Line 467  void opmgen_setreg(REG8 reg, REG8 value) Line 475  void opmgen_setreg(REG8 reg, REG8 value)
         }          }
 }  }
   
   #endif
   

Removed from v.1.5  
changed lines
  Added in v.1.7


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