--- np2/common/mimpidef.c 2003/10/16 17:57:11 1.1.1.1 +++ np2/common/mimpidef.c 2005/02/12 12:40:39 1.3 @@ -18,11 +18,11 @@ static char *cutdelimit(char *buf) { return(buf); } -static BOOL getvalue(char **buf, int *value) { +static BRESULT getvalue(char **buf, int *value) { char *p; int val; - BOOL ret; + BRESULT ret; char c; p = cutdelimit(*buf); @@ -95,15 +95,15 @@ static void analyze(MIMPIDEF *def, char return; } tone--; - def->bank[mod][num] = (BYTE)bank; + def->bank[mod][num] = (UINT8)bank; } - def->map[mod][num] = (BYTE)tone; + def->map[mod][num] = (UINT8)tone; } } -BOOL mimpidef_load(MIMPIDEF *def, const char *filename) { +BRESULT mimpidef_load(MIMPIDEF *def, const OEMCHAR *filename) { - BYTE b; + UINT8 b; TEXTFILEH fh; char buf[256];