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

version 1.10, 2004/07/26 18:52:55 version 1.11, 2005/05/13 05:47:25
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);
         }          }
 }  }
   
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.11


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