another big-endian fix!

This commit is contained in:
tildearrow 2022-08-19 22:37:54 -05:00
parent 4d057d3328
commit 24e3dec84f
1 changed files with 3 additions and 1 deletions

View File

@ -59,7 +59,9 @@ DivDataErrors DivWavetable::readWaveData(SafeReader& reader, short version) {
if (len>256 || min!=0 || max>255) return DIV_DATA_INVALID_DATA;
reader.read(data,4*len);
for (int i=0; i<len; i++) {
data[i]=reader.readI();
}
return DIV_DATA_SUCCESS;
}