Diff for /xmil/win9x/sndboard.c between versions 1.1 and 1.3

version 1.1, 2004/08/05 11:30:12 version 1.3, 2004/08/17 15:43:34
Line 63  void IOOUTCALL sndboard_psgdat(UINT port Line 63  void IOOUTCALL sndboard_psgdat(UINT port
         REG8    reg;          REG8    reg;
   
         reg = sndboard.psgreg;          reg = sndboard.psgreg;
           TRACEOUT(("psg %.2x %.2x", reg, dat));
         if (reg < 0x0e) {          if (reg < 0x0e) {
                 sndboard.psgdat[reg] = dat;                  sndboard.psgdat[reg] = dat;
                 x1f_psg(reg, dat);                  x1f_psg(reg, dat);
Line 107  REG8 IOINPCALL sndboard_psgsta(UINT port Line 108  REG8 IOINPCALL sndboard_psgsta(UINT port
   
 // ----  // ----
   
   void sndboard_update(void) {
   
           UINT    i;
   
           if (romeo_exist) {
                   for (i=0; i<14; i++) {
                           juliet_YMF288A((REG8)i, sndboard.psgdat[i]);
                   }
                   for (i=0x20; i<0x100; i++) {
                           juliet_YM2151W((REG8)i, sndboard.opmdat[i]);
                   }
           }
           else {
                   for (i=0; i<14; i++) {
                           psggen_setreg(&psggen, (REG8)i, sndboard.psgdat[i]);
                   }
                   for (i=0x20; i<0x100; i++) {
                           opmgen_setreg((REG8)i, sndboard.opmdat[i]);
                   }
           }
   }
   
 void sndboard_reset(void) {  void sndboard_reset(void) {
   
         ZeroMemory(&sndboard, sizeof(sndboard));          ZeroMemory(&sndboard, sizeof(sndboard));

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


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