--- np2/generic/keydisp.c 2003/11/28 21:06:02 1.4 +++ np2/generic/keydisp.c 2004/01/27 15:38:20 1.6 @@ -540,7 +540,7 @@ static void setpsghdl(BYTE items) { } } -void keydisp_setfmboard(BYTE b) { +void keydisp_setfmboard(UINT b) { keydisp.keymax = 0; keydisp.fmmax = 0; @@ -721,7 +721,9 @@ static BOOL draw1key(CMNVRAM *vram, KDCH KDKEYPOS *pos; UINT pal; +#if defined(SUPPORT_8BPP) BYTE pal8; +#endif pos = keydisp.keypos + (kdch->k[n] & 0x7f); pal = kdch->r[n] & 0x7f;