diff options
author | Chris Robinson <[email protected]> | 2014-02-01 14:33:57 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-02-01 14:33:57 -0800 |
commit | 9e2a8843a87b8f906a8da89965f473d32ddf40d4 (patch) | |
tree | ba7f5bb48c9770e8f1de0edf75ca5edb52deaca1 /Alc | |
parent | 68a32a34869c6032834b11a943108b0ce2705f6b (diff) |
Properly fill the SF2 sample buffer on big endian
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/midi/sf2load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/midi/sf2load.c b/Alc/midi/sf2load.c index 73b5d9d4..169a5189 100644 --- a/Alc/midi/sf2load.c +++ b/Alc/midi/sf2load.c @@ -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; } |