--- np2/sound/fmboard.c 2004/02/03 08:24:40 1.9 +++ np2/sound/fmboard.c 2004/02/04 03:42:02 1.10 @@ -112,7 +112,7 @@ void fmboard_reset(UINT32 type) { ZeroMemory(&opn, sizeof(opn)); opn.channels = 3; opn.adpcmmask = (UINT8)~(0x1c); - FillMemory(opn.reg, 0xff, 0x400); + FillMemory(opn.reg, 0x400, 0xff); opn.reg[0xff] = 0x01; ZeroMemory(&musicgen, sizeof(musicgen));