Reduce performance issue
This commit is contained in:
parent
e3aee980c5
commit
3fcccb52ee
17 changed files with 76 additions and 76 deletions
|
|
@ -54,9 +54,9 @@ void DivPlatformMMC5::acquire(short* bufL, short* bufR, size_t start, size_t len
|
|||
rWrite(0x5011,((unsigned char)s->data8[dacPos]+0x80));
|
||||
}
|
||||
dacPos++;
|
||||
if (s->isLoopable() && dacPos>=(unsigned int)s->getLoopEndPosition()) {
|
||||
dacPos=s->getLoopStartPosition();
|
||||
} else if (dacPos>=(unsigned int)s->getEndPosition()) {
|
||||
if (s->isLoopable() && dacPos>=(unsigned int)s->loopEnd) {
|
||||
dacPos=s->loopStart;
|
||||
} else if (dacPos>=s->samples) {
|
||||
dacSample=-1;
|
||||
}
|
||||
dacPeriod-=rate;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue