Diff for /xmil/sound/opmgenc.c between versions 1.2 and 1.3

version 1.2, 2004/08/05 11:30:12 version 1.3, 2004/08/05 11:46:26
Line 4 Line 4
 #include        "sndctrl.h"  #include        "sndctrl.h"
   
   
 // extern       int             s_cnt;  
 // extern       DWORD   basedclk;  
   
   
 #define OPM_ARRATE               399128L  #define OPM_ARRATE               399128L
 #define OPM_DRRATE              5514396L  #define OPM_DRRATE              5514396L
   
Line 381  void opmgen_setreg(REG8 reg, REG8 value) Line 377  void opmgen_setreg(REG8 reg, REG8 value)
         OPMCH           *ch;          OPMCH           *ch;
         OPMSLOT         *slot;          OPMSLOT         *slot;
   
 //      if (romeo_exist) {          sound_sync();
 //              juliet2_YM2151W(reg, value, (basedclk * s_cnt / 1600));  
 //              return;  
 //      }  
   
         c = reg & 7;          c = reg & 7;
         ch = opmch + c;          ch = opmch + c;
         slot = ch->slot + fmslot[(reg >> 3) & 3];          slot = ch->slot + fmslot[(reg >> 3) & 3];

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


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