Diff for /np2/macosx/np2.cpp between versions 1.30 and 1.31

version 1.30, 2003/11/05 17:58:01 version 1.31, 2003/11/06 01:58:36
Line 547  static void HandleMouseDown(EventRecord  Line 547  static void HandleMouseDown(EventRecord 
   
 // ----  // ----
   
   static void framereset(UINT waitcnt) {
   
           framecnt = 0;
           toolwin_draw((BYTE)waitcnt);
           if (np2oscfg.DISPCLK & 3) {
                   if (sysmng_workclockrenewal()) {
                           sysmng_updatecaption(3);
                   }
           }
   }
   
 static void processwait(UINT waitcnt) {  static void processwait(UINT waitcnt) {
   
         if (timing_getcount() >= waitcnt) {          if (timing_getcount() >= waitcnt) {
                 framecnt = 0;  
                 timing_setcount(0);                  timing_setcount(0);
                 toolwin_draw((BYTE)waitcnt);                  framereset(waitcnt);
                 if (np2oscfg.DISPCLK & 3) {  
                         if (sysmng_workclockrenewal()) {  
                                 sysmng_updatecaption(3);  
                         }  
                 }  
         }          }
 }  }
   
Line 748  int main(int argc, char *argv[]) { Line 753  int main(int argc, char *argv[]) {
                                                 else {                                                  else {
                                                         timing_setcount(cnt - framecnt);                                                          timing_setcount(cnt - framecnt);
                                                 }                                                  }
                                                 processwait(0);                                                  framereset(0);
                                         }                                          }
                                 }                                  }
                                 else {                                  else {

Removed from v.1.30  
changed lines
  Added in v.1.31


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