aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/res_snd.cpp
diff options
context:
space:
mode:
authorTravis Howell2007-02-11 02:16:00 +0000
committerTravis Howell2007-02-11 02:16:00 +0000
commit6bdd106176abeb409d8b3049f1ac04841906fb81 (patch)
treed253fdbe97b047f4353d5f877ed9c1ccbee746f7 /engines/agos/res_snd.cpp
parent841fd4f94fc20162f4d3c3e688e0c0669017777a (diff)
downloadscummvm-rg350-6bdd106176abeb409d8b3049f1ac04841906fb81.tar.gz
scummvm-rg350-6bdd106176abeb409d8b3049f1ac04841906fb81.tar.bz2
scummvm-rg350-6bdd106176abeb409d8b3049f1ac04841906fb81.zip
Add Acorn disk version of Simon the Sorcerer 1.
svn-id: r25480
Diffstat (limited to 'engines/agos/res_snd.cpp')
-rw-r--r--engines/agos/res_snd.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/agos/res_snd.cpp b/engines/agos/res_snd.cpp
index eaa13cabea..305bd3e7e3 100644
--- a/engines/agos/res_snd.cpp
+++ b/engines/agos/res_snd.cpp
@@ -120,7 +120,9 @@ void AGOSEngine::skipSpeech() {
void AGOSEngine::loadMusic(uint music) {
char buf[4];
- if (getPlatform() == Common::kPlatformAtariST) {
+ if (getGameId() == GID_SIMON1ACORN) {
+ // TODO: Add support for music format used by Simon 1 Floppy
+ } else if (getPlatform() == Common::kPlatformAtariST) {
// TODO: Add support for music format used by Elvira 2
} else if (getPlatform() == Common::kPlatformAmiga) {
_mixer->stopHandle(_modHandle);
@@ -130,6 +132,8 @@ void AGOSEngine::loadMusic(uint music) {
if (getGameType() == GType_ELVIRA1 && getFeatures() & GF_DEMO)
sprintf(filename, "elvira2");
+ else if (getPlatform() == Common::kPlatformAcorn)
+ sprintf(filename, "%dtune.DAT", music);
else
sprintf(filename, "%dtune", music);