Performance adjusts
This commit is contained in:
parent
f73d1bd82c
commit
a411e34a62
13 changed files with 24 additions and 22 deletions
|
|
@ -94,7 +94,7 @@ void DivPlatformAY8930::acquire(short* bufL, short* bufR, size_t start, size_t l
|
|||
int prev_out = chan[i].dac.out;
|
||||
while (chan[i].dac.period>rate && !end) {
|
||||
DivSample* s=parent->getSample(chan[i].dac.sample);
|
||||
if (s->getEndPosition()<=0) {
|
||||
if (s->samples<=0) {
|
||||
chan[i].dac.sample=-1;
|
||||
rWrite(0x08+i,0);
|
||||
end=true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue