release v0.6pre9

also fix a bug in TL macro compat
This commit is contained in:
tildearrow 2023-08-26 03:36:28 -05:00
parent 29fa249227
commit 3dd4f3e7e8
8 changed files with 20 additions and 27 deletions

View file

@ -54,10 +54,10 @@
#define EXTERN_BUSY_BEGIN_SOFT e->softLocked=true; e->isBusy.lock();
#define EXTERN_BUSY_END e->isBusy.unlock(); e->softLocked=false;
#define DIV_UNSTABLE
//#define DIV_UNSTABLE
#define DIV_VERSION "dev168"
#define DIV_ENGINE_VERSION 168
#define DIV_VERSION "0.6pre9"
#define DIV_ENGINE_VERSION 169
// for imports
#define DIV_VERSION_MOD 0xff01
#define DIV_VERSION_FC 0xff02

View file

@ -2264,15 +2264,13 @@ void DivInstrument::readFeatureOx(SafeReader& reader, int op, short version) {
// <167 TL macro compat
if (macroCode==6 && version<167) {
for (int i=0; i<4; i++) {
if (target->open&6) {
for (int j=0; j<2; j++) {
target->val[j]^=0x7f;
}
} else {
for (int j=0; j<target->len; j++) {
target->val[j]^=0x7f;
}
if (target->open&6) {
for (int j=0; j<2; j++) {
target->val[j]^=0x7f;
}
} else {
for (int j=0; j<target->len; j++) {
target->val[j]^=0x7f;
}
}
}