aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2006-05-06 06:25:15 +0000
committerTravis Howell2006-05-06 06:25:15 +0000
commit6913623068668a0aaca99a7dba983d29fe2cc7c9 (patch)
tree11a5ba40f4f607259cf7ceece49a88358d23f732
parent13871e432025d241391446c9066386c7cce7dab7 (diff)
downloadscummvm-rg350-6913623068668a0aaca99a7dba983d29fe2cc7c9.tar.gz
scummvm-rg350-6913623068668a0aaca99a7dba983d29fe2cc7c9.tar.bz2
scummvm-rg350-6913623068668a0aaca99a7dba983d29fe2cc7c9.zip
Fix typo, which caused FLAC speech files to fail
svn-id: r22364
-rw-r--r--engines/simon/sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/simon/sound.cpp b/engines/simon/sound.cpp
index 8686660da8..3429d1c31a 100644
--- a/engines/simon/sound.cpp
+++ b/engines/simon/sound.cpp
@@ -287,7 +287,7 @@ void Sound::loadVoiceFile(const GameSpecificSettings *gss) {
#ifdef USE_FLAC
if (!_hasVoiceFile) {
- sprintf(filename, "%s.flac", gss->speech_filename);
+ sprintf(filename, "%s.fla", gss->speech_filename);
file->open(filename);
if (file->isOpen()) {
_hasVoiceFile = true;
@@ -657,7 +657,7 @@ void Sound::switchVoiceFile(const GameSpecificSettings *gss, uint disc) {
#ifdef USE_FLAC
if (!_hasVoiceFile) {
- sprintf(filename, "%s%d.flac", gss->speech_filename, disc);
+ sprintf(filename, "%s%d.fla", gss->speech_filename, disc);
file->open(filename);
if (file->isOpen()) {
_hasVoiceFile = true;