Minor NDS warning fixes

This commit is contained in:
cam900 2025-08-20 16:37:29 +09:00 committed by tildearrow
parent 44b2d3d037
commit 39b6eb9a70

View file

@ -503,7 +503,7 @@ void FurnaceGUI::drawSampleEdit() {
SAMPLE_WARN(warnLoopEnd,_("NDS: loop end on ADPCM must be a multiple of 8"));
}
if (sample->loopStart>524280) {
SAMPLE_WARN(warnLoopPos,_("NDS: loop cannot be longer than 524280 samples on ADPCM"));
SAMPLE_WARN(warnLoopPos,_("NDS: loop start cannot be longer than 524280 samples on ADPCM"));
}
if ((sample->loopEnd-sample->loopStart)>33554424) {
SAMPLE_WARN(warnLoopPos,_("NDS: maximum ADPCM loop length is 33554424"));
@ -523,7 +523,7 @@ void FurnaceGUI::drawSampleEdit() {
SAMPLE_WARN(warnLoopEnd,_("NDS: loop end on 8 bit PCM must be a multiple of 4"));
}
if (sample->loopStart>262140) {
SAMPLE_WARN(warnLoopPos,_("NDS: loop cannot be longer than 262140 samples on 8 bit PCM"));
SAMPLE_WARN(warnLoopPos,_("NDS: loop start cannot be longer than 262140 samples on 8 bit PCM"));
}
if ((sample->loopEnd-sample->loopStart)>16777212) {
SAMPLE_WARN(warnLoopPos,_("NDS: maximum 8 bit PCM loop length is 16777212"));
@ -543,7 +543,7 @@ void FurnaceGUI::drawSampleEdit() {
SAMPLE_WARN(warnLoopEnd,_("NDS: loop end on 16 bit PCM must be a multiple of 2"));
}
if (sample->loopStart>131070) {
SAMPLE_WARN(warnLoopPos,_("NDS: loop cannot be longer than 131070 samples on 16 bit PCM"));
SAMPLE_WARN(warnLoopPos,_("NDS: loop start cannot be longer than 131070 samples on 16 bit PCM"));
}
if ((sample->loopEnd-sample->loopStart)>8388606) {
SAMPLE_WARN(warnLoopPos,_("NDS: maximum 16 bit PCM loop length is 8388606"));