From 5ae4d883a545a62ced97323996b5eae04c110c26 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sun, 20 Feb 2022 22:48:42 -0500 Subject: [PATCH] one more mishap --- src/engine/platform/c64.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/platform/c64.cpp b/src/engine/platform/c64.cpp index af31845c0..0214d5f2b 100644 --- a/src/engine/platform/c64.cpp +++ b/src/engine/platform/c64.cpp @@ -171,7 +171,7 @@ void DivPlatformC64::tick() { if (!chan[i].resetMask && !isMuted[i]) { rWrite(i*7+5,0); rWrite(i*7+6,0); - rWrite(i*7+4,(isMuted[i]?0:(chan[i].wave<<4))|8|(chan[i].ring<<2)|(chan[i].sync<<1)); + rWrite(i*7+4,(isMuted[i]?8:(chan[i].wave<<4))|8|(chan[i].ring<<2)|(chan[i].sync<<1)); } } } @@ -246,8 +246,8 @@ int DivPlatformC64::dispatch(DivCommand c) { filtCut=ins->c64.cut; filtRes=ins->c64.res; filtControl=ins->c64.lp|(ins->c64.bp<<1)|(ins->c64.hp<<2)|(ins->c64.ch3off<<3); - updateFilter(); } + updateFilter(); } if (chan[c.chan].insChanged) { chan[c.chan].insChanged=false;