|
|
| version 1.3, 2003/11/28 15:28:19 | version 1.6, 2004/01/27 15:38:20 |
|---|---|
| Line 409 static void psgmix(BYTE ch, PSGGEN psg) | Line 409 static void psgmix(BYTE ch, PSGGEN psg) |
| } | } |
| else if ((!(k->mix & bit)) && (psg->reg.vol[i] & 0x1f)) { | else if ((!(k->mix & bit)) && (psg->reg.vol[i] & 0x1f)) { |
| k->flag |= bit; | k->flag |= bit; |
| k->fto[i] = (*(UINT16 *)(psg->reg.tune[i])) & 0xfff; | k->fto[i] = LOADINTELWORD(psg->reg.tune[i]) & 0xfff; |
| k->lastnote[i] = getpsgnote(k->fto[i]); | k->lastnote[i] = getpsgnote(k->fto[i]); |
| delaysetevent(pos, (BYTE)(k->lastnote[i] | 0x80)); | delaysetevent(pos, (BYTE)(k->lastnote[i] | 0x80)); |
| } | } |
| Line 540 static void setpsghdl(BYTE items) { | Line 540 static void setpsghdl(BYTE items) { |
| } | } |
| } | } |
| void keydisp_setfmboard(BYTE b) { | void keydisp_setfmboard(UINT b) { |
| keydisp.keymax = 0; | keydisp.keymax = 0; |
| keydisp.fmmax = 0; | keydisp.fmmax = 0; |
| Line 721 static BOOL draw1key(CMNVRAM *vram, KDCH | Line 721 static BOOL draw1key(CMNVRAM *vram, KDCH |
| KDKEYPOS *pos; | KDKEYPOS *pos; |
| UINT pal; | UINT pal; |
| #if defined(SUPPORT_8BPP) | |
| BYTE pal8; | BYTE pal8; |
| #endif | |
| pos = keydisp.keypos + (kdch->k[n] & 0x7f); | pos = keydisp.keypos + (kdch->k[n] & 0x7f); |
| pal = kdch->r[n] & 0x7f; | pal = kdch->r[n] & 0x7f; |