--- xmil/sound/psggenc.c 2004/08/05 11:46:26 1.3 +++ xmil/sound/psggenc.c 2004/08/17 15:43:34 1.5 @@ -4,10 +4,6 @@ #include "sndctrl.h" -// extern int s_cnt; -// extern DWORD basedclk; - - PSGGENCFG psggencfg; const UINT8 psggen_deftbl[0x10] = @@ -110,6 +106,7 @@ void psggen_setreg(PSGGEN psg, REG8 reg, } else { psg->tone[ch].freq = 0; + psg->tone[ch].count = 0; // としておかないとノイズ出ない } break;