mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-16 07:10:53 +00:00
Pass the correct size to LoadSoundVoc
This commit is contained in:
parent
6f8545e694
commit
d55dfcdb1d
1 changed files with 1 additions and 1 deletions
|
@ -1322,7 +1322,7 @@ sfxinfo_t *S_LoadSound(sfxinfo_t *sfx)
|
||||||
// If the sound is voc, use the custom loader.
|
// If the sound is voc, use the custom loader.
|
||||||
if (strncmp ((const char *)sfxstart, "Creative Voice File", 19) == 0)
|
if (strncmp ((const char *)sfxstart, "Creative Voice File", 19) == 0)
|
||||||
{
|
{
|
||||||
sfx->data = GSnd->LoadSoundVoc(sfxstart, len);
|
sfx->data = GSnd->LoadSoundVoc(sfxstart, size);
|
||||||
}
|
}
|
||||||
// If the sound is raw, just load it as such.
|
// If the sound is raw, just load it as such.
|
||||||
// Otherwise, try the sound as DMX format.
|
// Otherwise, try the sound as DMX format.
|
||||||
|
|
Loading…
Reference in a new issue