|
|
| version 1.1, 2003/11/21 06:51:11 | version 1.4, 2003/11/28 21:06:02 |
|---|---|
| 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] = (*(WORD *)(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 917 void keydisp_getsize(int *width, int *he | Line 917 void keydisp_getsize(int *width, int *he |
| if (width) { | if (width) { |
| *width = KEYDISP_WIDTH; | *width = KEYDISP_WIDTH; |
| } | } |
| if (*height) { | if (height) { |
| *height = (getdispkeys() * KEYDISP_KEYCY) + 1; | *height = (getdispkeys() * KEYDISP_KEYCY) + 1; |
| } | } |
| keydisp.dispflag &= ~KEYDISP_FLAGSIZING; | keydisp.dispflag &= ~KEYDISP_FLAGSIZING; |