bump version

This commit is contained in:
tildearrow 2023-04-05 23:43:33 -05:00
parent f87460cbc9
commit 8e0a28f06e
2 changed files with 3 additions and 2 deletions

View File

@ -53,8 +53,8 @@
#define EXTERN_BUSY_BEGIN_SOFT e->softLocked=true; e->isBusy.lock();
#define EXTERN_BUSY_END e->isBusy.unlock(); e->softLocked=false;
#define DIV_VERSION "dev147"
#define DIV_ENGINE_VERSION 147
#define DIV_VERSION "dev148"
#define DIV_ENGINE_VERSION 148
// for imports
#define DIV_VERSION_MOD 0xff01
#define DIV_VERSION_FC 0xff02

View File

@ -874,6 +874,7 @@ bool DivEngine::loadDMF(unsigned char* file, size_t len) {
// what the hell man...
cutStart=reader.readI();
cutEnd=reader.readI();
logV("cutStart: %d cutEnd: %d",cutStart,cutEnd);
if (cutStart<0 || cutStart>length) {
logE("cutStart is out of range! (%d)",cutStart);
lastError="file is corrupt or unreadable at samples";