Game Boy: fix phase reset macro when anti-click is

This commit is contained in:
tildearrow 2022-08-06 00:39:09 -05:00
parent 8a7d352ec6
commit 0946d23883
1 changed files with 4 additions and 0 deletions

View File

@ -220,6 +220,10 @@ void DivPlatformGB::tick(bool sysTick) {
if (chan[i].std.phaseReset.had) {
if (chan[i].std.phaseReset.val==1) {
chan[i].keyOn=true;
if (i==2) {
antiClickWavePos=0;
antiClickPeriodCount=0;
}
}
}
if (i==2) {