Performance adjusts

This commit is contained in:
cam900 2022-08-28 09:59:56 +09:00
parent f73d1bd82c
commit a411e34a62
13 changed files with 24 additions and 22 deletions

View file

@ -49,7 +49,7 @@ void DivPlatformMMC5::acquire(short* bufL, short* bufR, size_t start, size_t len
dacPeriod+=dacRate;
if (dacPeriod>=rate) {
DivSample* s=parent->getSample(dacSample);
if (s->getEndPosition()>0) {
if (s->samples>0) {
if (!isMuted[2]) {
rWrite(0x5011,((unsigned char)s->data8[dacPos]+0x80));
}