align to 4

This commit is contained in:
cam900 2024-02-12 22:41:19 +09:00 committed by tildearrow
parent b868e37c42
commit 4822e0d060

View file

@ -532,7 +532,7 @@ void DivPlatformNDS::renderSamples(int sysID) {
continue;
}
int length=MIN(16777215,s->getCurBufLen());
int length=MIN(16777216,s->getCurBufLen());
unsigned char* src=(unsigned char*)s->getCurBuf();
int actualLength=MIN((int)(getSampleMemCapacity()-memPos),length);
if (actualLength>0) {