Bump DIV_VERSION to 188, since we added a new compatibiltiy flag
(Also adjust the file save/load to use that version)
This commit is contained in:
parent
67d6f44947
commit
947b7add5e
|
|
@ -55,7 +55,7 @@ class DivWorkPool;
|
||||||
#define DIV_UNSTABLE
|
#define DIV_UNSTABLE
|
||||||
|
|
||||||
#define DIV_VERSION "dev187"
|
#define DIV_VERSION "dev187"
|
||||||
#define DIV_ENGINE_VERSION 187
|
#define DIV_ENGINE_VERSION 188
|
||||||
// for imports
|
// for imports
|
||||||
#define DIV_VERSION_MOD 0xff01
|
#define DIV_VERSION_MOD 0xff01
|
||||||
#define DIV_VERSION_FC 0xff02
|
#define DIV_VERSION_FC 0xff02
|
||||||
|
|
|
||||||
|
|
@ -1873,7 +1873,7 @@ bool DivEngine::loadFur(unsigned char* file, size_t len) {
|
||||||
if (ds.version<184) {
|
if (ds.version<184) {
|
||||||
ds.resetArpPhaseOnNewNote=false;
|
ds.resetArpPhaseOnNewNote=false;
|
||||||
}
|
}
|
||||||
if (ds.version<187) {
|
if (ds.version<188) {
|
||||||
ds.ceilVolumeScaling=false;
|
ds.ceilVolumeScaling=false;
|
||||||
}
|
}
|
||||||
ds.isDMF=false;
|
ds.isDMF=false;
|
||||||
|
|
@ -2412,7 +2412,7 @@ bool DivEngine::loadFur(unsigned char* file, size_t len) {
|
||||||
} else {
|
} else {
|
||||||
reader.readC();
|
reader.readC();
|
||||||
}
|
}
|
||||||
if (ds.version>=187) {
|
if (ds.version>=188) {
|
||||||
ds.ceilVolumeScaling=reader.readC();
|
ds.ceilVolumeScaling=reader.readC();
|
||||||
} else {
|
} else {
|
||||||
reader.readC();
|
reader.readC();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue