aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2012-10-15 07:08:24 +0200
committerStrangerke2012-10-15 07:08:24 +0200
commit5023a5764f3c4f394f9454685340d89f8cb571af (patch)
tree33f249b0018337ed7c4c28671aa18d4c0876a2db
parent76ff4c700166d69b416dae324ee616ab57265c34 (diff)
downloadscummvm-rg350-5023a5764f3c4f394f9454685340d89f8cb571af.tar.gz
scummvm-rg350-5023a5764f3c4f394f9454685340d89f8cb571af.tar.bz2
scummvm-rg350-5023a5764f3c4f394f9454685340d89f8cb571af.zip
TONY: Fix music bug - 2 songs played simultaneously eventually
-rw-r--r--engines/tony/sound.cpp1
-rw-r--r--engines/tony/tony.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/engines/tony/sound.cpp b/engines/tony/sound.cpp
index 2844e0d925..20386d6353 100644
--- a/engines/tony/sound.cpp
+++ b/engines/tony/sound.cpp
@@ -489,6 +489,7 @@ bool FPStream::loadFile(const Common::String &fileName, uint32 codec, int bufSiz
// Fallback: try with an extra '0' prefix
if (!_file.open("0" + fileName))
return false;
+ warning("FPStream::loadFile(): Fallback from %s to %s", fileName.c_str(), _file.getName());
}
// Save the size of the stream
diff --git a/engines/tony/tony.cpp b/engines/tony/tony.cpp
index 1c63096e92..86740c6fe5 100644
--- a/engines/tony/tony.cpp
+++ b/engines/tony/tony.cpp
@@ -55,6 +55,7 @@ TonyEngine::TonyEngine(OSystem *syst, const TonyGameDescription *gameDesc) : Eng
SearchMan.addSubDirectoryMatching(gameDataDir, "Roasted");
SearchMan.addSubDirectoryMatching(gameDataDir, "Music");
SearchMan.addSubDirectoryMatching(gameDataDir, "Music/utilsfx");
+ SearchMan.addSubDirectoryMatching(gameDataDir, "Music/Layer");
// Set up load slot number
_initialLoadSlotNumber = -1;