sub-blocks, part 1

currently awful
This commit is contained in:
tildearrow 2025-04-04 05:01:49 -05:00
parent c110f87548
commit d5f1d3c25c
5 changed files with 186 additions and 77 deletions

View file

@ -37,7 +37,7 @@ struct DivCSChannelState {
int volume, volMax, volSpeed, volSpeedTarget;
int vibratoDepth, vibratoRate, vibratoPos;
int portaTarget, portaSpeed;
unsigned char arp, arpStage, arpTicks;
unsigned char arp, arpStage, arpTicks, loopCount;
unsigned int callStack[8];
unsigned char callStackPos;
@ -65,6 +65,7 @@ struct DivCSChannelState {
arp(0),
arpStage(0),
arpTicks(0),
loopCount(0),
callStackPos(0),
tracePos(0) {
for (int i=0; i<DIV_MAX_CSTRACE; i++) {