Game Boy: fix phase reset macro when anti-click is
This commit is contained in:
parent
8a7d352ec6
commit
0946d23883
|
@ -220,6 +220,10 @@ void DivPlatformGB::tick(bool sysTick) {
|
||||||
if (chan[i].std.phaseReset.had) {
|
if (chan[i].std.phaseReset.had) {
|
||||||
if (chan[i].std.phaseReset.val==1) {
|
if (chan[i].std.phaseReset.val==1) {
|
||||||
chan[i].keyOn=true;
|
chan[i].keyOn=true;
|
||||||
|
if (i==2) {
|
||||||
|
antiClickWavePos=0;
|
||||||
|
antiClickPeriodCount=0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (i==2) {
|
if (i==2) {
|
||||||
|
|
Loading…
Reference in New Issue