--- np2/wince/np2.cpp 2003/12/06 13:57:32 1.7 +++ np2/wince/np2.cpp 2003/12/26 23:30:26 1.9 @@ -269,7 +269,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT if (sysrunning) { if (LOWORD(wParam) != WA_INACTIVE) { GXResume(); -#if defined(WIN32_PLATFORM_PSPC) +#if defined(GX_DLL) scrnmng_enable(TRUE); #endif scrndraw_redraw(); @@ -279,7 +279,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT else { sysrunning &= ~SYSRUNNING_FORE; soundmng_disable(SNDPROC_MAIN); -#if defined(WIN32_PLATFORM_PSPC) +#if defined(GX_DLL) scrnmng_enable(FALSE); #endif GXSuspend(); @@ -308,9 +308,11 @@ static void processwait(UINT cnt) { timing_setcount(0); framereset(cnt); } +#if !defined(_WIN32_WCE) else { Sleep(1); } +#endif }