Properly fill the SF2 sample buffer on big endian

This commit is contained in:
Chris Robinson
2014-02-01 14:33:57 -08:00
parent 68a32a3486
commit 9e2a8843a8
+1 -1
View File
@@ -1201,7 +1201,7 @@ ALboolean loadSf2(Reader *stream, ALsoundfont *soundfont, ALCcontext *context)
READ(stream, buf, todo);
for(i = 0;i < todo;i++)
ptr[i] = buf[i^1];
ptr[total+i] = buf[i^1];
total += todo;
}