From 2dcf5f890e3552e76f84ea33f6cb6569c520d866 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Thu, 9 Dec 2021 02:54:14 -0500 Subject: [PATCH] PCE: note off disables PCM mode --- src/engine/platform/pce.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/platform/pce.cpp b/src/engine/platform/pce.cpp index 3723ab2e5..76c8e3aee 100644 --- a/src/engine/platform/pce.cpp +++ b/src/engine/platform/pce.cpp @@ -160,6 +160,8 @@ int DivPlatformPCE::dispatch(DivCommand c) { chan[c.chan].std.init(parent->getIns(chan[c.chan].ins)); break; case DIV_CMD_NOTE_OFF: + chan[c.chan].dacSample=-1; + chan[c.chan].pcm=false; chan[c.chan].active=false; chan[c.chan].keyOff=true; chan[c.chan].std.init(NULL);