mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-21 09:21:08 +00:00
Increased size of VOC filename buffer to accomodate for 1000.VOC and
beyond. (Fixes a failed assertion for me.) svn-id: r19785
This commit is contained in:
parent
080039cf14
commit
01c3248905
@ -910,7 +910,7 @@ void KyraEngine::snd_playSoundEffect(int track) {
|
||||
|
||||
void KyraEngine::snd_playVoiceFile(int id) {
|
||||
debug(9, "KyraEngine::snd_playVoiceFile(%d)", id);
|
||||
char vocFile[8];
|
||||
char vocFile[9];
|
||||
assert(id >= 0 && id < 9999);
|
||||
sprintf(vocFile, "%03d.VOC", id);
|
||||
uint32 fileSize = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user