Don't adjust data pointer in makeStream.
It is already adjusted in getAudioStream. svn-id: r39276
This commit is contained in:
parent
cbf2602783
commit
1e4c9488f2
1 changed files with 1 additions and 1 deletions
|
@ -558,7 +558,7 @@ static Audio::AudioStream *makeStream(byte *data, int size, sfx_pcm_config_t con
|
|||
|
||||
// Duplicate the data
|
||||
byte *sound = (byte *)malloc(size);
|
||||
memcpy(sound, data + SCI0_PCM_DATA_OFFSET, size);
|
||||
memcpy(sound, data, size);
|
||||
|
||||
// Convert stream format flags
|
||||
int flags = Audio::Mixer::FLAG_AUTOFREE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue