Diff for /np2/sound/opngenc.c between versions 1.10 and 1.12

version 1.10, 2004/07/26 18:52:55 version 1.12, 2007/10/28 16:01:35
Line 435  void opngen_reset(void) { Line 435  void opngen_reset(void) {
                 ch++;                  ch++;
         }          }
         for (i=0x30; i<0xc0; i++) {          for (i=0x30; i<0xc0; i++) {
                 opngen_setreg(0, (REG8)i, 0xff);                  opngen_setreg(0, i, 0xff);
                 opngen_setreg(3, (REG8)i, 0xff);                  opngen_setreg(3, i, 0xff);
                 opngen_setreg(6, (REG8)i, 0xff);                  opngen_setreg(6, i, 0xff);
                 opngen_setreg(9, (REG8)i, 0xff);                  opngen_setreg(9, i, 0xff);
         }          }
 }  }
   
 void opngen_setcfg(REG8 maxch, UINT flag) {  void opngen_setcfg(REG8 maxch, UINT32 flag) {
   
         OPNCH   *ch;          OPNCH   *ch;
         UINT    i;          UINT    i;
Line 477  void opngen_setextch(UINT chnum, REG8 da Line 477  void opngen_setextch(UINT chnum, REG8 da
         ch[chnum].extop = data;          ch[chnum].extop = data;
 }  }
   
 void opngen_setreg(REG8 chbase, REG8 reg, REG8 value) {  void opngen_setreg(REG8 chbase, UINT reg, REG8 value) {
   
         UINT    chpos;          UINT    chpos;
         OPNCH   *ch;          OPNCH   *ch;

Removed from v.1.10  
changed lines
  Added in v.1.12


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