[Scummvm-cvs-logs] SF.net SVN: scummvm: [28854] scummvm/trunk/engines/saga/sndres.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Wed Sep 5 20:08:20 CEST 2007
Revision: 28854
http://scummvm.svn.sourceforge.net/scummvm/?rev=28854&view=rev
Author: thebluegr
Date: 2007-09-05 11:08:20 -0700 (Wed, 05 Sep 2007)
Log Message:
-----------
If the p2_a.iaf/p2_a.voc patch files are located in ITE's root folder instead of inside the sound subfolder, they're treated as uncompressed. Fixes bug #1751344 - "ITE: p2_a.iaf not played correctly"
Modified Paths:
--------------
scummvm/trunk/engines/saga/sndres.cpp
Modified: scummvm/trunk/engines/saga/sndres.cpp
===================================================================
--- scummvm/trunk/engines/saga/sndres.cpp 2007-09-05 15:43:56 UTC (rev 28853)
+++ scummvm/trunk/engines/saga/sndres.cpp 2007-09-05 18:08:20 UTC (rev 28854)
@@ -185,7 +185,8 @@
bool uncompressedSound = false;
// If a patch file exists for sound resource 4 (used in ITE intro), don't treat this sound as compressed
if (_vm->getGameType() == GType_ITE && resourceId == 4 &&
- (Common::File::exists("sound/p2_a.iaf") || Common::File::exists("sound/p2_a.voc")))
+ (Common::File::exists("sound/p2_a.iaf") || Common::File::exists("sound/p2_a.voc") ||
+ Common::File::exists("p2_a.iaf") || Common::File::exists("p2_a.voc")))
uncompressedSound = true;
// FIXME: Currently, the SFX.RES file in IHNM cannot be compressed
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