Virtual Boy: phase reset macro

This commit is contained in:
tildearrow 2022-10-15 04:00:41 -05:00
parent b4b7ab86fb
commit 2cead0b7f9
2 changed files with 2 additions and 1 deletions

View file

@ -183,7 +183,7 @@ void DivPlatformVB::tick(bool sysTick) {
chan[i].freqChanged=true;
}
if (chan[i].std.phaseReset.had && chan[i].std.phaseReset.val==1) {
// ???
chWrite(i,0x00,0x80);
}
if (chan[i].active) {
if (chan[i].ws.tick() || (chan[i].std.phaseReset.had && chan[i].std.phaseReset.val==1)) {