custom tick rate for presets
This commit is contained in:
parent
eb657aef18
commit
d6d6743740
|
@ -1416,6 +1416,12 @@ void DivEngine::initSongWithDesc(const char* description, bool inBase64) {
|
|||
song.systemFlags[index].loadFromBase64(flags.c_str());
|
||||
}
|
||||
song.systemLen=index;
|
||||
|
||||
// extra attributes
|
||||
song.subsong[0]->hz=c.getDouble("tickRate",60.0);
|
||||
if (song.subsong[0]->hz!=60.0) {
|
||||
song.subsong[0]->customTempo=true;
|
||||
}
|
||||
}
|
||||
|
||||
void DivEngine::createNew(const char* description, String sysName, bool inBase64) {
|
||||
|
|
Loading…
Reference in New Issue