VERA: fix pan macro

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

View File

@ -174,6 +174,7 @@ void DivPlatformVERA::tick(bool sysTick) {
if (i<16) {
if (chan[i].std.panL.had) {
chan[i].pan=chan[i].std.panL.val&3;
chan[i].pan=((chan[i].pan&1)<<1)|((chan[i].pan&2)>>1);
rWriteHi(i,2,isMuted[i]?0:chan[i].pan);
}
}