Diff for /np2/sound/fmtimer.c between versions 1.1 and 1.2

version 1.1, 2003/10/16 17:58:02 version 1.2, 2003/10/18 00:35:35
Line 60  void fmport_b(NEVENTITEM item) { Line 60  void fmport_b(NEVENTITEM item) {
   
 static void set_fmtimeraevent(BOOL absolute) {  static void set_fmtimeraevent(BOOL absolute) {
   
         long l = 18 * (1024 - fmtimer.timera);          SINT32  l;
   
           l = 18 * (1024 - fmtimer.timera);
         if (pc.cpumode & CPUMODE_8MHz) {                // 4MHz          if (pc.cpumode & CPUMODE_8MHz) {                // 4MHz
                 l = (l * 1248 / 625) * pc.multiple;                  l = (l * 1248 / 625) * pc.multiple;
         }          }
Line 73  static void set_fmtimeraevent(BOOL absol Line 74  static void set_fmtimeraevent(BOOL absol
   
 static void set_fmtimerbevent(BOOL absolute) {  static void set_fmtimerbevent(BOOL absolute) {
   
         long l = 288 * (256 - fmtimer.timerb);          SINT32  l;
   
           l = 288 * (256 - fmtimer.timerb);
         if (pc.cpumode & CPUMODE_8MHz) {                // 4MHz          if (pc.cpumode & CPUMODE_8MHz) {                // 4MHz
                 l = (l * 1248 / 625) * pc.multiple;                  l = (l * 1248 / 625) * pc.multiple;
         }          }

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


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