fix bug caused by new renderSamples approach

when doing switchMaster
This commit is contained in:
tildearrow 2022-05-02 02:54:23 -05:00
parent a7b8f81da7
commit dbe9bf25e7
4 changed files with 86 additions and 9 deletions

View file

@ -330,6 +330,9 @@ bool DivEngine::perSystemEffect(int ch, unsigned char effect, unsigned char effe
case 0x14: // sweep down
dispatchCmd(DivCommand(DIV_CMD_NES_SWEEP,ch,1,effectVal));
break;
case 0x18: // DPCM mode
dispatchCmd(DivCommand(DIV_CMD_SAMPLE_MODE,ch,effectVal));
break;
default:
return false;
}