aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2009-03-01 10:09:27 +0000
committerTravis Howell2009-03-01 10:09:27 +0000
commitfdb9cd9ce2c560486a62d959efdaa8519919e279 (patch)
tree919837f11c8d8cfb49a59ae129812990fca06873
parent741d8b36fe473e995c066329a38c4601fbabb111 (diff)
downloadscummvm-rg350-fdb9cd9ce2c560486a62d959efdaa8519919e279.tar.gz
scummvm-rg350-fdb9cd9ce2c560486a62d959efdaa8519919e279.tar.bz2
scummvm-rg350-fdb9cd9ce2c560486a62d959efdaa8519919e279.zip
Add DOS demo of Elvira 1.
svn-id: r39026
-rw-r--r--engines/agos/agos.cpp3
-rw-r--r--engines/agos/detection_tables.h22
2 files changed, 24 insertions, 1 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp
index f8681b7a94..488e9866e1 100644
--- a/engines/agos/agos.cpp
+++ b/engines/agos/agos.cpp
@@ -1003,7 +1003,8 @@ Common::Error AGOSEngine::go() {
delay(0);
}
- if (getGameType() == GType_ELVIRA1 && getFeatures() & GF_DEMO) {
+ if (getGameType() == GType_ELVIRA1 && getPlatform() == Common::kPlatformAmiga &&
+ (getFeatures() & GF_DEMO)) {
playMusic(0, 0);
}
diff --git a/engines/agos/detection_tables.h b/engines/agos/detection_tables.h
index 19a307fc71..df8175ac8b 100644
--- a/engines/agos/detection_tables.h
+++ b/engines/agos/detection_tables.h
@@ -174,6 +174,28 @@ static const AGOSGameDescription gameDescriptions[] = {
GF_OLD_BUNDLE | GF_CRUNCHED | GF_PLANAR
},
+ // Elvira 1 - English DOS Floppy Demo
+ {
+ {
+ "elvira1",
+ "Demo",
+
+ {
+ { "demo", GAME_BASEFILE, "54b43b6ab38964bd7fd17e9f1b41cc64", 2308},
+ { "icon.dat", GAME_ICONFILE, "55d8dd70c54340397ca518665274a477", 576},
+ { "tbllist", GAME_TBLFILE, "319f6b227c7822a551f57d24e70f8149", 368},
+ { NULL, 0, NULL, 0}
+ },
+ Common::EN_ANY,
+ Common::kPlatformPC,
+ ADGF_DEMO
+ },
+
+ GType_ELVIRA1,
+ GID_ELVIRA1,
+ GF_OLD_BUNDLE | GF_DEMO
+ },
+
// Elvira 1 - English DOS Floppy
{
{