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

@ -179,6 +179,7 @@ const char* insTypes[DIV_INS_MAX+1][3]={
{"PowerNoise (noise)",ICON_FUR_NOISE,ICON_FUR_INS_POWERNOISE},
{"PowerNoise (slope)",ICON_FUR_SAW,ICON_FUR_INS_POWERNOISE_SAW},
{"Dave",ICON_FA_BAR_CHART,ICON_FUR_INS_DAVE},
{"NDS",ICON_FA_BAR_CHART,ICON_FUR_INS_DAVE},/* placeholder */
{NULL,ICON_FA_QUESTION,ICON_FA_QUESTION}
};
@ -992,6 +993,7 @@ const FurnaceGUIColorDef guiColors[GUI_COLOR_MAX]={
D(GUI_COLOR_INSTR_POWERNOISE,"",ImVec4(1.0f,1.0f,0.8f,1.0f)),
D(GUI_COLOR_INSTR_POWERNOISE_SLOPE,"",ImVec4(1.0f,0.6f,0.3f,1.0f)),
D(GUI_COLOR_INSTR_DAVE,"",ImVec4(0.7f,0.7f,0.8f,1.0f)),
D(GUI_COLOR_INSTR_NDS,"",ImVec4(0.7f,0.7f,0.8f,1.0f)),
D(GUI_COLOR_INSTR_UNKNOWN,"",ImVec4(0.3f,0.3f,0.3f,1.0f)),
D(GUI_COLOR_CHANNEL_BG,"",ImVec4(0.4f,0.6f,0.8f,1.0f)),
@ -1234,6 +1236,7 @@ const int availableSystems[]={
DIV_SYSTEM_PONG,
DIV_SYSTEM_POWERNOISE,
DIV_SYSTEM_DAVE,
DIV_SYSTEM_NDS,
0 // don't remove this last one!
};
@ -1325,6 +1328,7 @@ const int chipsSpecial[]={
DIV_SYSTEM_SM8521,
DIV_SYSTEM_POWERNOISE,
DIV_SYSTEM_DAVE,
DIV_SYSTEM_NDS,
0 // don't remove this last one!
};
@ -1347,6 +1351,7 @@ const int chipsSample[]={
DIV_SYSTEM_K053260,
DIV_SYSTEM_C140,
DIV_SYSTEM_C219,
DIV_SYSTEM_NDS,
0 // don't remove this last one!
};