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

@ -2316,6 +2316,28 @@ bool FurnaceGUI::drawSysConf(int chan, int sysPos, DivSystem type, DivConfig& fl
}
break;
}
case DIV_SYSTEM_NDS: {
int chipType=flags.getInt("chipType",0);
ImGui::Text("Model:");
ImGui::Indent();
if (ImGui::RadioButton("DS (4MB RAM)",chipType==0)) {
chipType=0;
altered=true;
}
if (ImGui::RadioButton("DSi (16MB RAM)",chipType==1)) {
chipType=1;
altered=true;
}
ImGui::Unindent();
if (altered) {
e->lockSave([&]() {
flags.set("chipType",chipType);
});
}
break;
}
case DIV_SYSTEM_SWAN:
case DIV_SYSTEM_BUBSYS_WSG:
case DIV_SYSTEM_PET: