From 4822e0d06023a46adeba7276058d0bae7a7bff7a Mon Sep 17 00:00:00 2001 From: cam900 Date: Mon, 12 Feb 2024 22:41:19 +0900 Subject: [PATCH] align to 4 --- src/engine/platform/nds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/platform/nds.cpp b/src/engine/platform/nds.cpp index c3976d7db..d002ed419 100644 --- a/src/engine/platform/nds.cpp +++ b/src/engine/platform/nds.cpp @@ -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) {