Add NDS sound support

TODO:
- IMA ADPCM
- Instrument color, icon
This commit is contained in:
cam900 2024-02-11 11:49:20 +09:00 committed by tildearrow
parent de444d9260
commit c1773e09f3
20 changed files with 1786 additions and 7 deletions

View file

@ -988,7 +988,8 @@ void DivEngine::delUnusedSamples() {
i->type==DIV_INS_GA20 ||
i->type==DIV_INS_K053260 ||
i->type==DIV_INS_C140 ||
i->type==DIV_INS_C219) {
i->type==DIV_INS_C219 ||
i->type==DIV_INS_NDS) {
if (i->amiga.initSample>=0 && i->amiga.initSample<song.sampleLen) {
isUsed[i->amiga.initSample]=true;
}