MultiPCM: fix muting on reset

This commit is contained in:
tildearrow 2025-09-13 14:14:11 -05:00
parent de1ab67d4a
commit 684bebf202

View file

@ -471,6 +471,7 @@ void DivPlatformMultiPCM::reset() {
for (int i=0; i<28; i++) { for (int i=0; i<28; i++) {
chan[i]=DivPlatformMultiPCM::Channel(); chan[i]=DivPlatformMultiPCM::Channel();
chan[i].std.setEngine(parent); chan[i].std.setEngine(parent);
chImmWrite(i,PCM_ADDR_PAN,(isMuted[i]?8:chan[i].pan)<<4);
} }
for (int i=0; i<224; i++) { for (int i=0; i<224; i++) {