|
|
| version 1.6, 2003/11/14 05:26:53 | version 1.7, 2003/12/04 13:54:29 |
|---|---|
| Line 80 void psggen_setreg(PSGGEN psg, BYTE reg, | Line 80 void psggen_setreg(PSGGEN psg, BYTE reg, |
| UINT ch; | UINT ch; |
| reg &= 15; | reg &= 15; |
| ((BYTE *)&psg->reg)[reg] = value; | |
| if (reg < 14) { | if (reg < 14) { |
| sound_sync(); | sound_sync(); |
| } | } |
| ((BYTE *)&psg->reg)[reg] = value; | |
| switch(reg) { | switch(reg) { |
| case 0: | case 0: |
| case 1: | case 1: |