mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-30 00:13:03 +00:00
parent
0ac63d817d
commit
98396beda9
4 changed files with 16 additions and 4 deletions
|
@ -54,8 +54,8 @@ class DivWorkPool;
|
||||||
|
|
||||||
#define DIV_UNSTABLE
|
#define DIV_UNSTABLE
|
||||||
|
|
||||||
#define DIV_VERSION "dev193"
|
#define DIV_VERSION "dev194"
|
||||||
#define DIV_ENGINE_VERSION 193
|
#define DIV_ENGINE_VERSION 194
|
||||||
// for imports
|
// for imports
|
||||||
#define DIV_VERSION_MOD 0xff01
|
#define DIV_VERSION_MOD 0xff01
|
||||||
#define DIV_VERSION_FC 0xff02
|
#define DIV_VERSION_FC 0xff02
|
||||||
|
|
|
@ -2052,6 +2052,18 @@ bool DivEngine::loadFur(unsigned char* file, size_t len) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// OPLL fixedAll compat
|
||||||
|
if (ds.version<194) {
|
||||||
|
for (int i=0; i<ds.systemLen; i++) {
|
||||||
|
if (ds.system[i]==DIV_SYSTEM_OPLL ||
|
||||||
|
ds.system[i]==DIV_SYSTEM_OPLL_DRUMS) {
|
||||||
|
if (!ds.systemFlags[i].has("fixedAll")) {
|
||||||
|
ds.systemFlags[i].set("fixedAll",false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (active) quitDispatch();
|
if (active) quitDispatch();
|
||||||
BUSY_BEGIN_SOFT;
|
BUSY_BEGIN_SOFT;
|
||||||
saveLock.lock();
|
saveLock.lock();
|
||||||
|
|
|
@ -1099,7 +1099,7 @@ void DivPlatformOPLL::setFlags(const DivConfig& flags) {
|
||||||
oscBuf[i]->rate=rate/2;
|
oscBuf[i]->rate=rate/2;
|
||||||
}
|
}
|
||||||
noTopHatFreq=flags.getBool("noTopHatFreq",false);
|
noTopHatFreq=flags.getBool("noTopHatFreq",false);
|
||||||
fixedAll=flags.getBool("fixedAll",false);
|
fixedAll=flags.getBool("fixedAll",true);
|
||||||
}
|
}
|
||||||
|
|
||||||
int DivPlatformOPLL::init(DivEngine* p, int channels, int sugRate, const DivConfig& flags) {
|
int DivPlatformOPLL::init(DivEngine* p, int channels, int sugRate, const DivConfig& flags) {
|
||||||
|
|
|
@ -396,7 +396,7 @@ bool FurnaceGUI::drawSysConf(int chan, int sysPos, DivSystem type, DivConfig& fl
|
||||||
int clockSel=flags.getInt("clockSel",0);
|
int clockSel=flags.getInt("clockSel",0);
|
||||||
int patchSet=flags.getInt("patchSet",0);
|
int patchSet=flags.getInt("patchSet",0);
|
||||||
bool noTopHatFreq=flags.getBool("noTopHatFreq",false);
|
bool noTopHatFreq=flags.getBool("noTopHatFreq",false);
|
||||||
bool fixedAll=flags.getBool("fixedAll",false);
|
bool fixedAll=flags.getBool("fixedAll",true);
|
||||||
|
|
||||||
ImGui::Text("Clock rate:");
|
ImGui::Text("Clock rate:");
|
||||||
ImGui::Indent();
|
ImGui::Indent();
|
||||||
|
|
Loading…
Reference in a new issue