--- np2/cbus/boardx2.c 2003/12/08 00:55:30 1.3 +++ np2/cbus/boardx2.c 2005/02/09 20:11:33 1.6 @@ -204,16 +204,22 @@ void boardx2_reset(void) { fmtimer_reset(0xc0); opn.channels = 6; opngen_setcfg(6, OPN_STEREO | 0x1c0); - soundrom_load(0xcc000, "86"); + soundrom_load(0xcc000, OEMTEXT("86")); fmboard_extreg(extendchannel); } void boardx2_bind(void) { + fmboard_fmrestore(0, 2); + fmboard_fmrestore(3, 0); + fmboard_fmrestore(6, 1); + psggen_restore(&psg1); + psggen_restore(&psg2); + fmboard_rhyrestore(&rhythm, 0); sound_streamregist(&opngen, (SOUNDCB)opngen_getpcm); sound_streamregist(&psg1, (SOUNDCB)psggen_getpcm); sound_streamregist(&psg2, (SOUNDCB)psggen_getpcm); - sound_streamregist(&rhythm, (SOUNDCB)rhythm_getpcm); + rhythm_bind(&rhythm); pcm86io_bind(); cbuscore_attachsndex(0x088, opn_o, opn_i); cbuscore_attachsndex(0x188, opna_o, opna_i);