--- np2/win9x/subwind.cpp 2004/03/25 15:22:43 1.3 +++ np2/win9x/subwind.cpp 2004/04/07 13:15:40 1.6 @@ -437,46 +437,63 @@ static const INITBL np2skini[] = { {"WindposY", INITYPE_SINT32, &skbdcfg.posy, 0}, {"windtype", INITYPE_BOOL, &skbdcfg.type, 0}}; -static void skpalcnv(CMNPAL *dst, RGB32 *src, UINT pals, UINT bpp) { +static void skpalcnv(CMNPAL *dst, const RGB32 *src, UINT pals, UINT bpp) { UINT i; switch(bpp) { +#if defined(SUPPORT_8BPP) + case 8: + break; +#endif +#if defined(SUPPORT_16BPP) case 16: for (i=0; i