Actually fix
This commit is contained in:
parent
5de95e6565
commit
7a91996e3a
|
@ -534,7 +534,7 @@ void DivPlatformK007232::renderSamples(int sysID) {
|
|||
memset(&sampleMem[memPos],0xc0,1);
|
||||
memPos+=1;
|
||||
}
|
||||
if ((memPos+actualLength)>=(getSampleMemCapacity()-1)) {
|
||||
if ((memPos+MAX(actualLength,0))>=(getSampleMemCapacity()-1)) {
|
||||
logW("out of K007232 PCM memory for sample %d!",i);
|
||||
break;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue