YM2612: phase reset for samples

This commit is contained in:
tildearrow 2022-12-29 15:58:42 -05:00
parent e31f8a2115
commit f2fce2fab3

View file

@ -346,6 +346,12 @@ void DivPlatformGenesis::tick(bool sysTick) {
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 (chan[i].std.phaseReset.had) {