better ancient version sample support

This commit is contained in:
tildearrow 2021-06-09 01:16:26 -05:00
parent 99e59278ad
commit 5b707eeeec

View file

@ -577,7 +577,7 @@ bool DivEngine::load(void* f, size_t slen) {
} }
logD("%d name %s (%d)\n",i,sample->name.c_str(),sample->length); logD("%d name %s (%d)\n",i,sample->name.c_str(),sample->length);
if (ds.version<0x0b) { if (ds.version<0x0b) {
sample->rate=0; sample->rate=4;
sample->pitch=0; sample->pitch=0;
sample->vol=0; sample->vol=0;
} else { } else {