aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/detection.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2013-04-02 16:31:30 -0400
committerMatthew Hoops2013-04-16 21:53:51 -0400
commit5c5b19a77b10e5f9b5c476f02e74da2d33b8fd6f (patch)
treed61e7ba66e7ed569d270cc2700613b25818e36aa /engines/pegasus/detection.cpp
parent918920b47a85934ef94b3b2409a121617af6ca2e (diff)
downloadscummvm-rg350-5c5b19a77b10e5f9b5c476f02e74da2d33b8fd6f.tar.gz
scummvm-rg350-5c5b19a77b10e5f9b5c476f02e74da2d33b8fd6f.tar.bz2
scummvm-rg350-5c5b19a77b10e5f9b5c476f02e74da2d33b8fd6f.zip
PEGASUS: Add Windows demo support
Diffstat (limited to 'engines/pegasus/detection.cpp')
-rw-r--r--engines/pegasus/detection.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/engines/pegasus/detection.cpp b/engines/pegasus/detection.cpp
index 071db4d6fe..721c382d4f 100644
--- a/engines/pegasus/detection.cpp
+++ b/engines/pegasus/detection.cpp
@@ -62,6 +62,10 @@ bool PegasusEngine::isOldDemo() const {
return isDemo() && !isDVD();
}
+bool PegasusEngine::isWindows() const {
+ return _gameDescription->desc.platform == Common::kPlatformWindows;
+}
+
} // End of namespace Pegasus
static const PlainGameDescriptor pegasusGames[] = {
@@ -109,6 +113,18 @@ static const PegasusGameDescription gameDescriptions[] = {
},
},
+ {
+ {
+ "pegasus",
+ "DVD Demo",
+ AD_ENTRY1s("JMP PP Resources", "d0fcda50dc75c7a81ae314e6a813f4d2", 93495),
+ Common::EN_ANY,
+ Common::kPlatformWindows,
+ ADGF_MACRESFORK | ADGF_DEMO | GF_DVD,
+ GUIO1(GUIO_NOLAUNCHLOAD)
+ },
+ },
+
{ AD_TABLE_END_MARKER }
};