GUI: prepare for drawing prev/next pat content

This commit is contained in:
tildearrow 2022-02-16 16:11:15 -05:00
parent b0996371b7
commit 810ee33d11
5 changed files with 117 additions and 8 deletions

View file

@ -132,6 +132,9 @@ int DivEngine::dispatchCmd(DivCommand c) {
printf("%8d | %d: %s(%d, %d)\n",totalTicksR,c.chan,cmdName[c.cmd],c.value,c.value2);
}
totalCmds++;
if (cmdStreamEnabled && cmdStream.size()<2000) {
cmdStream.push_back(c);
}
c.chan=dispatchChanOfChan[c.dis];
return disCont[dispatchOfChan[c.dis]].dispatch->dispatch(c);
}