--- np2/wince/np2.cpp 2003/12/19 23:16:06 1.8 +++ np2/wince/np2.cpp 2004/01/22 01:10:05 1.11 @@ -29,7 +29,6 @@ #include "fddfile.h" #include "font.h" #include "timing.h" -#include "statsave.h" #include "vramhdl.h" #include "menubase.h" #include "sysmenu.h" @@ -42,14 +41,14 @@ static const TCHAR szAppCaption[] = STRL static const TCHAR szClassName[] = STRLITERAL("NP2-MainWindow"); - NP2OSCFG np2oscfg = {0, 2, 0, 0, + NP2OSCFG np2oscfg = {0, 0, 0, 0, #if !defined(GX_DLL) CW_USEDEFAULT, CW_USEDEFAULT, #endif #if defined(WIN32_PLATFORM_PSPC) 0, 0, #endif - }; + 0}; HWND hWndMain; HINSTANCE hInst; HINSTANCE hPrev; @@ -269,7 +268,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 +278,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();