Merge branch 'master' into es5506_alt
This commit is contained in:
commit
f3b9c6dde6
647 changed files with 4326 additions and 256 deletions
|
|
@ -617,12 +617,34 @@ void FurnaceGUI::drawSysConf(int chan, DivSystem type, unsigned int& flags, bool
|
|||
}
|
||||
break;
|
||||
}
|
||||
case DIV_SYSTEM_PCM_DAC: {
|
||||
int sampRate=(flags&65535)+1;
|
||||
int bitDepth=((flags>>16)&15)+1;
|
||||
bool stereo=(flags>>20)&1;
|
||||
ImGui::Text("Output rate:");
|
||||
if (CWSliderInt("##SampRate",&sampRate,1,65536)) {
|
||||
if (sampRate<1) sampRate=1;
|
||||
if (sampRate>65536) sampRate=65536;
|
||||
copyOfFlags=(flags&(~65535))|(sampRate-1);
|
||||
} rightClickable
|
||||
ImGui::Text("Output depth:");
|
||||
if (CWSliderInt("##BitDepth",&bitDepth,1,16)) {
|
||||
if (bitDepth<1) bitDepth=1;
|
||||
if (bitDepth>16) bitDepth=16;
|
||||
copyOfFlags=(flags&(~(15<<16)))|((bitDepth-1)<<16);
|
||||
} rightClickable
|
||||
if (ImGui::Checkbox("Stereo",&stereo)) {
|
||||
copyOfFlags=(flags&(~(1<<20)))|(stereo<<20);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case DIV_SYSTEM_GB:
|
||||
case DIV_SYSTEM_SWAN:
|
||||
case DIV_SYSTEM_VERA:
|
||||
case DIV_SYSTEM_BUBSYS_WSG:
|
||||
case DIV_SYSTEM_YMU759:
|
||||
case DIV_SYSTEM_PET:
|
||||
case DIV_SYSTEM_T6W28:
|
||||
ImGui::Text("nothing to configure");
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue