--- np2/sound/s98.c 2005/02/07 14:46:12 1.10 +++ np2/sound/s98.c 2005/05/13 05:47:25 1.12 @@ -108,7 +108,7 @@ void S98_trash(void) { S98_close(); } -BOOL S98_open(const char *filename) { +BRESULT S98_open(const OEMCHAR *filename) { UINT i; S98HDR hdr; @@ -176,12 +176,12 @@ void S98_close(void) { } } -void S98_put(REG8 module, REG8 addr, REG8 data) { +void S98_put(REG8 module, UINT addr, REG8 data) { if (s98log.fh != FILEH_INVALID) { S98_putint(); S98_putc(module); - S98_putc(addr); + S98_putc((UINT8)addr); S98_putc(data); } }