VGM export: kind of implement sample loop

for PCE, NES and Genesis
kinda glitchy
This commit is contained in:
tildearrow 2022-01-25 03:12:53 -05:00
parent b6c536c907
commit 0c8ec07633
3 changed files with 59 additions and 10 deletions

View file

@ -6,7 +6,7 @@ struct DivSample {
signed char vol, pitch;
unsigned char depth;
short* data;
unsigned int rendLength, adpcmRendLength, rendOff, rendOffP;
unsigned int rendLength, adpcmRendLength, rendOff, rendOffP, rendOffContiguous;
short* rendData;
unsigned char* adpcmRendData;
@ -25,6 +25,7 @@ struct DivSample {
adpcmRendLength(0),
rendOff(0),
rendOffP(0),
rendOffContiguous(0),
rendData(NULL),
adpcmRendData(NULL) {}
~DivSample();