|
|
| version 1.5, 2005/02/09 20:11:35 | version 1.6, 2005/05/12 17:26:11 |
|---|---|
| Line 123 static REG8 IOINPCALL ymf_i188(UINT port | Line 123 static REG8 IOINPCALL ymf_i188(UINT port |
| static REG8 IOINPCALL ymf_i18a(UINT port) { | static REG8 IOINPCALL ymf_i18a(UINT port) { |
| (void)port; | |
| if (opn.opnreg == 0x0e) { | if (opn.opnreg == 0x0e) { |
| return(fmboard_getjoy(&psg1)); | return(fmboard_getjoy(&psg1)); |
| } | } |
| else if (opn.opnreg < 0x10) { | else if (opn.opnreg < 0x10) { |
| return(psggen_getreg(&psg1, opn.opnreg)); | 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]); | return(opn.reg[opn.opnreg]); |
| #endif | |
| } | } |
| static REG8 IOINPCALL ymf_i18c(UINT port) { | static REG8 IOINPCALL ymf_i18c(UINT port) { |