ADSFGGGGGJKSDGHASLJKFHL
This commit is contained in:
parent
2c7abb4635
commit
a0dc9de262
4 changed files with 72 additions and 38 deletions
|
|
@ -4295,7 +4295,9 @@ void FurnaceGUI::drawInsEdit() {
|
|||
if (ins->type==DIV_INS_AMIGA) {
|
||||
volMax=64;
|
||||
}
|
||||
if (ins->type==DIV_INS_FM || ins->type==DIV_INS_SEGAPCM || ins->type==DIV_INS_MIKEY || ins->type==DIV_INS_MULTIPCM || ins->type==DIV_INS_SU || ins->type==DIV_INS_OPZ || ins->type==DIV_INS_OPM) {
|
||||
if (ins->type==DIV_INS_FM || ins->type==DIV_INS_SEGAPCM || ins->type==DIV_INS_MIKEY ||
|
||||
ins->type==DIV_INS_MULTIPCM || ins->type==DIV_INS_SU || ins->type==DIV_INS_OPZ ||
|
||||
ins->type==DIV_INS_OPM || ins->type==DIV_INS_SNES) {
|
||||
volMax=127;
|
||||
}
|
||||
if (ins->type==DIV_INS_GB) {
|
||||
|
|
|
|||
|
|
@ -755,12 +755,27 @@ void FurnaceGUI::drawSysConf(int chan, DivSystem type, unsigned int& flags, bool
|
|||
}
|
||||
break;
|
||||
}
|
||||
case DIV_SYSTEM_SNES: {
|
||||
ImGui::Text("Volume scale:");
|
||||
int vsL=127-(flags&127);
|
||||
int vsR=127-((flags>>8)&127);
|
||||
if (CWSliderInt("Left##VolScaleL",&vsL,0,127)) {
|
||||
if (vsL<0) vsL=0;
|
||||
if (vsL>127) vsL=127;
|
||||
copyOfFlags=(flags&(~0x7f))|(127-vsL);
|
||||
} rightClickable
|
||||
if (CWSliderInt("Right##VolScaleL",&vsR,0,127)) {
|
||||
if (vsR<0) vsR=0;
|
||||
if (vsR>127) vsR=127;
|
||||
copyOfFlags=(flags&(~0x7f00))|((127-vsR)<<8);
|
||||
} rightClickable
|
||||
break;
|
||||
}
|
||||
case DIV_SYSTEM_SWAN:
|
||||
case DIV_SYSTEM_VERA:
|
||||
case DIV_SYSTEM_BUBSYS_WSG:
|
||||
case DIV_SYSTEM_YMU759:
|
||||
case DIV_SYSTEM_PET:
|
||||
case DIV_SYSTEM_SNES:
|
||||
case DIV_SYSTEM_T6W28:
|
||||
ImGui::Text("nothing to configure");
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue