mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-03 09:47:26 +00:00
SegaPCM: its still there
This commit is contained in:
parent
917932d6f5
commit
82d5139197
1 changed files with 5 additions and 0 deletions
|
@ -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))) {
|
||||
|
|
Loading…
Reference in a new issue