--- np2/win9x/board118.c 2005/02/07 14:46:14 1.4 +++ np2/win9x/board118.c 2005/05/12 17:26:11 1.6 @@ -123,14 +123,21 @@ static REG8 IOINPCALL ymf_i188(UINT port static REG8 IOINPCALL ymf_i18a(UINT port) { + (void)port; if (opn.opnreg == 0x0e) { return(fmboard_getjoy(&psg1)); } else if (opn.opnreg < 0x10) { return(psggen_getreg(&psg1, opn.opnreg)); } - (void)port; +#if 1 + else if (opn.opnreg == 0xff) { + return(1); + } + return(opn.opnreg); +#else return(opn.reg[opn.opnreg]); +#endif } static REG8 IOINPCALL ymf_i18c(UINT port) { @@ -258,7 +265,7 @@ void board118_reset(void) { fmtimer_reset(0xc0); opngen_setcfg(3, OPN_STEREO | 0x038); cs4231io_reset(); - soundrom_load(0xcc000, "118"); + soundrom_load(0xcc000, OEMTEXT("118")); fmboard_extreg(extendchannel); juliet_YMF288Reset(); }