Virtual Boy: fix the fix

This commit is contained in:
tildearrow 2023-12-04 15:29:09 -05:00
parent bd3f6765f4
commit 8aabaf0e01

View file

@ -419,7 +419,9 @@ void DivPlatformVB::forceIns() {
} }
chWrite(i,0x01,isMuted[i]?0:chan[i].pan); chWrite(i,0x01,isMuted[i]?0:chan[i].pan);
} }
writeEnv(5,true); if (chan[5].active) {
writeEnv(5,true);
}
} }
void* DivPlatformVB::getChanState(int ch) { void* DivPlatformVB::getChanState(int ch) {