Diff for /np2/wince/np2.cpp between versions 1.7 and 1.9

version 1.7, 2003/12/06 13:57:32 version 1.9, 2003/12/26 23:30:26
Line 269  LRESULT CALLBACK WndProc(HWND hWnd, UINT Line 269  LRESULT CALLBACK WndProc(HWND hWnd, UINT
                         if (sysrunning) {                          if (sysrunning) {
                                 if (LOWORD(wParam) != WA_INACTIVE) {                                  if (LOWORD(wParam) != WA_INACTIVE) {
                                         GXResume();                                          GXResume();
 #if defined(WIN32_PLATFORM_PSPC)  #if defined(GX_DLL)
                                         scrnmng_enable(TRUE);                                          scrnmng_enable(TRUE);
 #endif  #endif
                                         scrndraw_redraw();                                          scrndraw_redraw();
Line 279  LRESULT CALLBACK WndProc(HWND hWnd, UINT Line 279  LRESULT CALLBACK WndProc(HWND hWnd, UINT
                                 else {                                  else {
                                         sysrunning &= ~SYSRUNNING_FORE;                                          sysrunning &= ~SYSRUNNING_FORE;
                                         soundmng_disable(SNDPROC_MAIN);                                          soundmng_disable(SNDPROC_MAIN);
 #if defined(WIN32_PLATFORM_PSPC)  #if defined(GX_DLL)
                                         scrnmng_enable(FALSE);                                          scrnmng_enable(FALSE);
 #endif  #endif
                                         GXSuspend();                                          GXSuspend();
Line 308  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.7  
changed lines
  Added in v.1.9


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