Fix sample loading

This commit is contained in:
cam900 2022-12-15 16:29:41 +09:00
parent 301c473413
commit f7e9c4e45c

View file

@ -536,9 +536,11 @@ void DivPlatformK007232::renderSamples(int sysID) {
} }
if (actualLength<length) { if (actualLength<length) {
logW("out of K007232 PCM memory for sample %d!",i); logW("out of K007232 PCM memory for sample %d!",i);
sampleLoaded[i]=false;
break; break;
} else {
sampleLoaded[i]=true;
} }
sampleLoaded[i]=true;
} }
sampleMemLen=memPos; sampleMemLen=memPos;
} }