Game Boy: fix porta regression
This commit is contained in:
parent
55c97c9529
commit
5726ffc740
|
@ -169,8 +169,10 @@ void DivPlatformGB::tick(bool sysTick) {
|
|||
if (chan[i].baseFreq>255) chan[i].baseFreq=255;
|
||||
if (chan[i].baseFreq<0) chan[i].baseFreq=0;
|
||||
} else {
|
||||
if (!chan[i].inPorta) {
|
||||
chan[i].baseFreq=NOTE_PERIODIC(parent->calcArp(chan[i].note,chan[i].std.arp.val,24));
|
||||
}
|
||||
}
|
||||
chan[i].freqChanged=true;
|
||||
}
|
||||
if (chan[i].std.duty.had) {
|
||||
|
|
Loading…
Reference in New Issue