MOD import: more improvements
- prepare for old Soundtracker MOD import - add "bypass limits" flag - dope.mod plays correctly now - automatic channel names
This commit is contained in:
parent
10cea9956b
commit
0a307fc4a6
4 changed files with 47 additions and 17 deletions
|
|
@ -5853,19 +5853,23 @@ bool FurnaceGUI::loop() {
|
|||
if (ImGui::SliderInt("##StereoSep",&stereoSep,0,127)) {
|
||||
if (stereoSep<0) stereoSep=0;
|
||||
if (stereoSep>127) stereoSep=127;
|
||||
e->setSysFlags(i,(flags&1)|((stereoSep&127)<<8),restart);
|
||||
e->setSysFlags(i,(flags&(~0x7f00))|((stereoSep&127)<<8),restart);
|
||||
updateWindowTitle();
|
||||
} rightClickable
|
||||
/* TODO LATER: I want 0.5 out already
|
||||
if (ImGui::RadioButton("Amiga 500 (OCS)",(flags&2)==0)) {
|
||||
e->setSysFlags(i,flags&1);
|
||||
e->setSysFlags(i,flags&(~2),restart);
|
||||
}
|
||||
if (ImGui::RadioButton("Amiga 1200 (AGA)",(flags&2)==2)) {
|
||||
e->setSysFlags(i,(flags&1)|2);
|
||||
}*/
|
||||
e->setSysFlags(i,(flags&(~2))|2,restart);
|
||||
}
|
||||
sysPal=flags&1;
|
||||
if (ImGui::Checkbox("PAL",&sysPal)) {
|
||||
e->setSysFlags(i,(flags&2)|sysPal,restart);
|
||||
e->setSysFlags(i,(flags&(~1))|sysPal,restart);
|
||||
updateWindowTitle();
|
||||
}
|
||||
bool bypassLimits=flags&4;
|
||||
if (ImGui::Checkbox("Bypass frequency limits",&bypassLimits)) {
|
||||
e->setSysFlags(i,(flags&(~4))|(bypassLimits<<2),restart);
|
||||
updateWindowTitle();
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue