Diff for /np2/generic/keydisp.c between versions 1.2 and 1.3

version 1.2, 2003/11/24 07:40:01 version 1.3, 2003/11/28 15:28:19
Line 409  static void psgmix(BYTE ch, PSGGEN psg)  Line 409  static void psgmix(BYTE ch, PSGGEN psg) 
                         }                          }
                         else if ((!(k->mix & bit)) && (psg->reg.vol[i] & 0x1f)) {                          else if ((!(k->mix & bit)) && (psg->reg.vol[i] & 0x1f)) {
                                 k->flag |= bit;                                  k->flag |= bit;
                                 k->fto[i] = (*(WORD *)(psg->reg.tune[i])) & 0xfff;                                  k->fto[i] = (*(UINT16 *)(psg->reg.tune[i])) & 0xfff;
                                 k->lastnote[i] = getpsgnote(k->fto[i]);                                  k->lastnote[i] = getpsgnote(k->fto[i]);
                                 delaysetevent(pos, (BYTE)(k->lastnote[i] | 0x80));                                  delaysetevent(pos, (BYTE)(k->lastnote[i] | 0x80));
                         }                          }

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


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