prepare for the last chips for 0.6pre1
YMZ280B is counted. don't worry.
This commit is contained in:
parent
0ef0296b7d
commit
251734bd04
13 changed files with 1011 additions and 4 deletions
|
|
@ -1404,7 +1404,15 @@ void FurnaceGUI::drawInsEdit() {
|
|||
}
|
||||
*/
|
||||
if (ImGui::BeginCombo("##Type",insTypes[insType])) {
|
||||
for (DivInstrumentType i: e->getPossibleInsTypes()) {
|
||||
std::vector<DivInstrumentType> insTypeList;
|
||||
if (settings.displayAllInsTypes) {
|
||||
for (int i=0; insTypes[i]; i++) {
|
||||
insTypeList.push_back((DivInstrumentType)i);
|
||||
}
|
||||
} else {
|
||||
insTypeList=e->getPossibleInsTypes();
|
||||
}
|
||||
for (DivInstrumentType i: insTypeList) {
|
||||
if (ImGui::Selectable(insTypes[i],insType==i)) {
|
||||
ins->type=i;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue