--- np2/win9x/subwind.cpp 2004/03/25 08:51:24 1.1 +++ np2/win9x/subwind.cpp 2004/03/26 06:47:11 1.4 @@ -416,6 +416,8 @@ typedef struct { HWND hwnd; WINLOCEX wlex; DD2HDL dd2hdl; + int width; + int height; } SKBDWIN; typedef struct { @@ -440,11 +442,29 @@ static void skpalcnv(CMNPAL *dst, RGB32 UINT i; switch(bpp) { +#if defined(SUPPORT_8BPP) + case 8: + break; +#endif +#if defined(SUPPORT_16BPP) + case 16: + for (i=0; i