mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 04:55:13 +00:00
YM2612: phase reset for samples
This commit is contained in:
parent
e31f8a2115
commit
f2fce2fab3
1 changed files with 6 additions and 0 deletions
|
@ -346,6 +346,12 @@ void DivPlatformGenesis::tick(bool sysTick) {
|
||||||
chan[i].freqChanged=true;
|
chan[i].freqChanged=true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (i>=5 && chan[i].std.phaseReset.had) {
|
||||||
|
if (chan[i].std.phaseReset.val==1 && chan[i].furnaceDac) {
|
||||||
|
chan[i].dacPos=0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (i>=6) continue;
|
if (i>=6) continue;
|
||||||
|
|
||||||
if (chan[i].std.phaseReset.had) {
|
if (chan[i].std.phaseReset.had) {
|
||||||
|
|
Loading…
Reference in a new issue