PCE: note off disables PCM mode

This commit is contained in:
tildearrow 2021-12-09 02:54:14 -05:00
parent daed339e07
commit 2dcf5f890e

View file

@ -160,6 +160,8 @@ int DivPlatformPCE::dispatch(DivCommand c) {
chan[c.chan].std.init(parent->getIns(chan[c.chan].ins)); chan[c.chan].std.init(parent->getIns(chan[c.chan].ins));
break; break;
case DIV_CMD_NOTE_OFF: case DIV_CMD_NOTE_OFF:
chan[c.chan].dacSample=-1;
chan[c.chan].pcm=false;
chan[c.chan].active=false; chan[c.chan].active=false;
chan[c.chan].keyOff=true; chan[c.chan].keyOff=true;
chan[c.chan].std.init(NULL); chan[c.chan].std.init(NULL);