mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-15 17:25:06 +00:00
QSound: initialize memory to 0
for some reason this fixes some glitches?
This commit is contained in:
parent
4ff056c64f
commit
236ab5b3fe
1 changed files with 1 additions and 0 deletions
|
@ -501,6 +501,7 @@ void DivEngine::renderSamples() {
|
|||
|
||||
// step 4: allocate qsound pcm samples
|
||||
if (qsoundMem==NULL) qsoundMem=new unsigned char[16777216];
|
||||
memset(qsoundMem,0,16777216);
|
||||
|
||||
memPos=0;
|
||||
for (int i=0; i<song.sampleLen; i++) {
|
||||
|
|
Loading…
Reference in a new issue