mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-22 18:02:05 +00:00
added voice support for mac dig demo
svn-id: r11330
This commit is contained in:
parent
5334ce49a8
commit
3ec24507ca
@ -534,11 +534,15 @@ void Sound::startTalkSound(uint32 offset, uint32 b, int mode, PlayingSoundHandle
|
||||
return;
|
||||
}
|
||||
|
||||
sprintf(filename, "audio/%s.%d/%d.voc", roomname, offset, b);
|
||||
_sfxFile->close();
|
||||
sprintf(filename, "audio/%s.%d/%d.voc", roomname, offset, b);
|
||||
_sfxFile->open(filename);
|
||||
if (!_sfxFile->isOpen()) {
|
||||
warning("startTalkSound: dig demo: voc file not found: %s", filename);
|
||||
sprintf(filename, "%d.%d.voc", offset, b);
|
||||
_sfxFile->open(filename);
|
||||
}
|
||||
if (!_sfxFile->isOpen()) {
|
||||
warning("startTalkSound: dig demo: voc file not found");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user