[Scummvm-cvs-logs] SF.net SVN: scummvm:[35847] scummvm/trunk/engines/kyra
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Tue Jan 13 19:11:11 CET 2009
Revision: 35847
http://scummvm.svn.sourceforge.net/scummvm/?rev=35847&view=rev
Author: lordhoto
Date: 2009-01-13 18:11:11 +0000 (Tue, 13 Jan 2009)
Log Message:
-----------
When reverting to text only mode update the config manager settings accordingly.
Modified Paths:
--------------
scummvm/trunk/engines/kyra/kyra_hof.cpp
scummvm/trunk/engines/kyra/kyra_mr.cpp
Modified: scummvm/trunk/engines/kyra/kyra_hof.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra_hof.cpp 2009-01-13 16:57:59 UTC (rev 35846)
+++ scummvm/trunk/engines/kyra/kyra_hof.cpp 2009-01-13 18:11:11 UTC (rev 35847)
@@ -1469,8 +1469,11 @@
if (!_res->loadPakFile(talkFilename)) {
if (speechEnabled()) {
- warning("Couldn't load file '%s' falling back to text only mode", talkFilename);
+ warning("Couldn't load voice file '%s', falling back to text only mode", talkFilename);
_configVoice = 0;
+
+ // Sync the config manager with the new settings
+ writeSettings();
}
}
}
Modified: scummvm/trunk/engines/kyra/kyra_mr.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra_mr.cpp 2009-01-13 16:57:59 UTC (rev 35846)
+++ scummvm/trunk/engines/kyra/kyra_mr.cpp 2009-01-13 18:11:11 UTC (rev 35847)
@@ -805,8 +805,11 @@
_currentTalkFile = file;
if (!_res->loadPakFile(talkFilename)) {
if (speechEnabled()) {
- warning("Couldn't load file '%s' falling back to text only mode", talkFilename);
+ warning("Couldn't load voice file '%s', falling back to text only mode", talkFilename);
_configVoice = 0;
+
+ // Sync the config manager with the new settings
+ writeSettings();
}
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list