PowerNoise: fix muting for real

This commit is contained in:
tildearrow 2024-04-08 04:52:01 -05:00
parent d4c48a06a1
commit 2a2f240adf

View file

@ -464,7 +464,7 @@ void DivPlatformPowerNoise::reset() {
rWrite(0,0x87); rWrite(0,0x87);
// set per-channel panning // set per-channel panning
for (int i=0; i<4; i++) { for (int i=0; i<4; i++) {
chWrite(i,0x06,volPan(chan[i].outVol,chan[i].pan)); chWrite(i,0x06,isMuted[i]?0:volPan(chan[i].outVol,chan[i].pan));
} }
// set default params so we have sound // set default params so we have sound
// noise // noise