mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-30 08:23:01 +00:00
fix wave synth ignoring wave set in wave macro
when wave did not change issue #1194
This commit is contained in:
parent
5c07ecb52c
commit
7e6ffd7e12
2 changed files with 2 additions and 1 deletions
|
@ -207,7 +207,7 @@ void DivPlatformN163::tick(bool sysTick) {
|
|||
}
|
||||
}
|
||||
if (chan[i].std.wave.had) {
|
||||
if (chan[i].wave!=chan[i].std.wave.val) {
|
||||
if (chan[i].wave!=chan[i].std.wave.val || chan[i].ws.activeChanged()) {
|
||||
chan[i].wave=chan[i].std.wave.val;
|
||||
chan[i].ws.changeWave1(chan[i].wave);
|
||||
if (chan[i].waveMode&0x2) {
|
||||
|
|
|
@ -27,6 +27,7 @@ bool DivWaveSynth::activeChanged() {
|
|||
activeChangedB=false;
|
||||
return true;
|
||||
}
|
||||
if (first) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue