MSM5232: channel muting

This commit is contained in:
tildearrow 2022-10-01 03:32:13 -05:00
parent 81ac2ba3b1
commit aed738e0d5
3 changed files with 20 additions and 10 deletions

View file

@ -226,7 +226,7 @@ int DivPlatformMSM5232::dispatch(DivCommand c) {
void DivPlatformMSM5232::muteChannel(int ch, bool mute) {
isMuted[ch]=mute;
// TODO: this
msm->mute(ch,mute);
}
void DivPlatformMSM5232::forceIns() {
@ -281,6 +281,7 @@ void DivPlatformMSM5232::reset() {
for (int i=0; i<8; i++) {
rWrite(i,0);
msm->mute(i,isMuted[i]);
}
}