SegaPCM: its still there

This commit is contained in:
tildearrow 2024-11-08 02:04:06 -05:00
parent 917932d6f5
commit 82d5139197

View file

@ -510,6 +510,11 @@ void DivPlatformSegaPCM::renderSamples(int sysID) {
for (int i=0; i<parent->song.sampleLen; i++) {
DivSample* sample=parent->getSample(i);
if (!sample->renderOn[0][sysID]) {
sampleOffSegaPCM[i]=0;
continue;
}
unsigned int alignedSize=sample->getLoopEndPosition(DIV_SAMPLE_DEPTH_8BIT);
if (alignedSize>=65279) alignedSize=65279;
if ((memPos&(~0xffff))!=((memPos+alignedSize)&(~0xffff))) {