diff options
Diffstat (limited to 'engines/hopkins/sound.cpp')
-rw-r--r-- | engines/hopkins/sound.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/hopkins/sound.cpp b/engines/hopkins/sound.cpp index 6f9f17a937..08f6f4abff 100644 --- a/engines/hopkins/sound.cpp +++ b/engines/hopkins/sound.cpp @@ -333,7 +333,8 @@ void SoundManager::LOAD_MUSIC(const Common::String &file) { s[2] = '\0'; mwavIndex = atol(&s[0]); - filename = Common::String::format("%s_%s.WAV", file.c_str(), &s[0]); + filename = Common::String::format("%s_%s.%s", file.c_str(), &s[0], + (_vm->getPlatform() == Common::kPlatformWindows) ? "APC" : "WAV"); LOAD_MSAMPLE(mwavIndex, filename); assert(destIndex < MUSIC_WAVE_COUNT); |