GUI: ready for sample chip sel grid?

This commit is contained in:
tildearrow 2022-11-26 04:13:11 -05:00
parent e8f5c9f5f9
commit d4f96617fc
2 changed files with 38 additions and 2 deletions

View file

@ -113,6 +113,8 @@ struct DivSample {
// - 2: Pingpong loop
DivSampleLoopMode loopMode;
bool renderOn[4][32];
// these are the new data structures.
signed char* data8; // 8
short* data16; // 16
@ -325,7 +327,14 @@ struct DivSample {
lengthB(0),
lengthBRR(0),
lengthVOX(0),
samples(0) {}
samples(0) {
for (int i=0; i<32; i++) {
renderOn[0][i]=true;
renderOn[1][i]=true;
renderOn[2][i]=true;
renderOn[3][i]=true;
}
}
~DivSample();
};