mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-01 18:42:40 +00:00
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
2 changed files with 3 additions and 3 deletions
|
@ -55,7 +55,7 @@ class DivWorkPool;
|
|||
#define DIV_UNSTABLE
|
||||
|
||||
#define DIV_VERSION "dev187"
|
||||
#define DIV_ENGINE_VERSION 187
|
||||
#define DIV_ENGINE_VERSION 188
|
||||
// for imports
|
||||
#define DIV_VERSION_MOD 0xff01
|
||||
#define DIV_VERSION_FC 0xff02
|
||||
|
|
|
@ -1873,7 +1873,7 @@ bool DivEngine::loadFur(unsigned char* file, size_t len) {
|
|||
if (ds.version<184) {
|
||||
ds.resetArpPhaseOnNewNote=false;
|
||||
}
|
||||
if (ds.version<187) {
|
||||
if (ds.version<188) {
|
||||
ds.ceilVolumeScaling=false;
|
||||
}
|
||||
ds.isDMF=false;
|
||||
|
@ -2412,7 +2412,7 @@ bool DivEngine::loadFur(unsigned char* file, size_t len) {
|
|||
} else {
|
||||
reader.readC();
|
||||
}
|
||||
if (ds.version>=187) {
|
||||
if (ds.version>=188) {
|
||||
ds.ceilVolumeScaling=reader.readC();
|
||||
} else {
|
||||
reader.readC();
|
||||
|
|
Loading…
Reference in a new issue