Diff for /np2/cbus/amd98.c between versions 1.6 and 1.7

version 1.6, 2003/12/08 00:55:30 version 1.7, 2004/01/13 05:30:58
Line 12  static void setamd98event(BOOL absolute) Line 12  static void setamd98event(BOOL absolute)
         SINT32  cnt;          SINT32  cnt;
   
         if (pit.value[3] > 8) {                                         // º¬µò¤Ê¤·          if (pit.value[3] > 8) {                                         // º¬µò¤Ê¤·
                 cnt = pc.multiple * pit.value[3];                  cnt = pccore.multiple * pit.value[3];
         }          }
         else {          else {
                 cnt = pc.multiple << 16;                  cnt = pccore.multiple << 16;
         }          }
         if (pc.baseclock == PCBASECLOCK25) {          if (pccore.baseclock == PCBASECLOCK25) {
                 cnt = cnt * 16 / 13;                                    // cnt * 2457600 / 1996800                  cnt = cnt * 16 / 13;                                    // cnt * 2457600 / 1996800
         }          }
         nevent_set(NEVENT_MUSICGEN, cnt, amd98int, absolute);          nevent_set(NEVENT_MUSICGEN, cnt, amd98int, absolute);

Removed from v.1.6  
changed lines
  Added in v.1.7


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