Diff for /np2/wince/np2.cpp between versions 1.5 and 1.8

version 1.5, 2003/12/05 19:42:03 version 1.8, 2003/12/19 23:16:06
Line 232  LRESULT CALLBACK WndProc(HWND hWnd, UINT Line 232  LRESULT CALLBACK WndProc(HWND hWnd, UINT
   
 #if !defined(GX_DLL)  #if !defined(GX_DLL)
                 case WM_MOVE:                  case WM_MOVE:
   #if !defined(_WIN32_WCE)
                         if (!(GetWindowLong(hWnd, GWL_STYLE) &                          if (!(GetWindowLong(hWnd, GWL_STYLE) &
                                                                                         (WS_MAXIMIZE | WS_MINIMIZE))) {                                                                                          (WS_MAXIMIZE | WS_MINIMIZE)))
   #endif
                           {
                                   RECT rc;
                                 GetWindowRect(hWnd, &rc);                                  GetWindowRect(hWnd, &rc);
                                 np2oscfg.winx = rc.left;                                  np2oscfg.winx = rc.left;
                                 np2oscfg.winy = rc.top;                                  np2oscfg.winy = rc.top;
Line 304  static void processwait(UINT cnt) { Line 308  static void processwait(UINT cnt) {
                 timing_setcount(0);                  timing_setcount(0);
                 framereset(cnt);                  framereset(cnt);
         }          }
   #if !defined(_WIN32_WCE)
         else {          else {
                 Sleep(1);                  Sleep(1);
         }          }
   #endif
 }  }
   
   

Removed from v.1.5  
changed lines
  Added in v.1.8


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