This commit is contained in:
twinaphex 2020-10-06 15:43:38 +02:00
parent cc730d7daa
commit 8cfd8df508

View File

@ -660,20 +660,10 @@ int PCEFast_PSG::StateAction(StateMem *sm, int load, int data_only)
channel[ch].vl[lr] &= 0x1F;
if(!channel[ch].noisecount && ch >= 4)
{
#if 0
printf("ch=%d, noisecount == 0\n", ch);
#endif
channel[ch].noisecount = 1;
}
if(channel[ch].counter <= 0)
{
#if 0
printf("ch=%d, counter <= 0\n", ch);
#endif
channel[ch].counter = 1;
}
if(ch >= 4)
RecalcNoiseFreqCache(ch);