SoundUnit: reset sample memory on reset()

This commit is contained in:
tildearrow 2023-01-24 03:05:23 -05:00
parent 7b2588c176
commit 68c8a77498
2 changed files with 13 additions and 4 deletions

View file

@ -89,6 +89,7 @@ class DivPlatformSoundUnit: public DivDispatch {
short tempR;
unsigned char sampleBank, lfoMode, lfoSpeed;
SoundUnit* su;
unsigned char* sampleMem;
size_t sampleMemLen;
unsigned char regPool[128];
double NOTE_SU(int ch, int note);