aboutsummaryrefslogtreecommitdiff
path: root/engines/made/made.cpp
diff options
context:
space:
mode:
authorTravis Howell2008-04-21 08:51:25 +0000
committerTravis Howell2008-04-21 08:51:25 +0000
commitd003b7e6a8ab861b207c322122e7abb5a5d0be83 (patch)
tree3c0721ef967e767771fe81e5a5750bf3aeee6df0 /engines/made/made.cpp
parent651bc3a2786c36146e6471f2c06cffccd82aa0aa (diff)
downloadscummvm-rg350-d003b7e6a8ab861b207c322122e7abb5a5d0be83.tar.gz
scummvm-rg350-d003b7e6a8ab861b207c322122e7abb5a5d0be83.tar.bz2
scummvm-rg350-d003b7e6a8ab861b207c322122e7abb5a5d0be83.zip
Add detection of the Return to Zork demo.
svn-id: r31640
Diffstat (limited to 'engines/made/made.cpp')
-rw-r--r--engines/made/made.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/made/made.cpp b/engines/made/made.cpp
index f590f84d3d..feb80f407d 100644
--- a/engines/made/made.cpp
+++ b/engines/made/made.cpp
@@ -138,8 +138,13 @@ int MadeEngine::go() {
for (int i = 0; i < ARRAYSIZE(_timers); i++)
_timers[i] = -1;
- _dat->open("rtzcd.dat");
- _res->open("rtzcd.prj");
+ if (getFeatures() & GF_DEMO) {
+ _dat->open("demo.dat");
+ _res->open("demo.prj");
+ } else {
+ _dat->open("rtzcd.dat");
+ _res->open("rtzcd.prj");
+ }
PictureResource *flex1 = _res->getPicture(78);
Graphics::Surface *surf = flex1->getPicture();