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:
Zeta 2023-11-14 04:17:05 -05:00
parent 67d6f44947
commit 947b7add5e
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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();