mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-01 18:42:40 +00:00
Fix masking
This commit is contained in:
parent
4822e0d060
commit
d5ea50f8dc
1 changed files with 1 additions and 1 deletions
|
@ -532,7 +532,7 @@ void DivPlatformNDS::renderSamples(int sysID) {
|
|||
continue;
|
||||
}
|
||||
|
||||
int length=MIN(16777216,s->getCurBufLen());
|
||||
int length=MIN(16777212,s->getCurBufLen());
|
||||
unsigned char* src=(unsigned char*)s->getCurBuf();
|
||||
int actualLength=MIN((int)(getSampleMemCapacity()-memPos),length);
|
||||
if (actualLength>0) {
|
||||
|
|
Loading…
Reference in a new issue