> > ソースアプ(`Д´) > ちょっとだけな(;´Д`) > void MDRV_SetPan(int ch, int pan) > { > unsigned int bank,channel,p; > unsigned char work; > bank = (ch < 3) ? 0 : 1; > channel = ch - (3 * bank); > if (pan < 64) p = 2; > else if (pan == 64) p = 3; > else p = 1; > work = (unsigned char)((FM->inst[WK->inst[ch]].lramspms & 0x3f) + ((p << 6) & 0xc0)); > SetReg(bank, 0x0b4+channel,work); > return; > } 最近のをアプヽ(´ー`)ノこれは古くない? 参考:2004/04/22(木)22時23分16秒