aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/detection.cpp
diff options
context:
space:
mode:
authorNipun Garg2019-03-13 13:53:47 +0530
committerEugene Sandulenko2019-09-03 17:16:41 +0200
commit74ff415903df1a93eada3843db1f85831b88d151 (patch)
tree9e228606daaf90acdc5ca489314bb4ea346e8bfc /engines/hdb/detection.cpp
parent50e2b5b5bf09caa20d2d2088d997fe8991efb93e (diff)
downloadscummvm-rg350-74ff415903df1a93eada3843db1f85831b88d151.tar.gz
scummvm-rg350-74ff415903df1a93eada3843db1f85831b88d151.tar.bz2
scummvm-rg350-74ff415903df1a93eada3843db1f85831b88d151.zip
HDB: Add decompresser to readMPC()
The .MPC decompression methods are added to readMPC(). The position and length of each data file in held in the struct DataFile, which are stored in the Array gameData. To extract a file, you need to access its entry in gameData and read the file from the given position.
Diffstat (limited to 'engines/hdb/detection.cpp')
-rw-r--r--engines/hdb/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/detection.cpp b/engines/hdb/detection.cpp
index e8421cfbe8..aae4ad9b5b 100644
--- a/engines/hdb/detection.cpp
+++ b/engines/hdb/detection.cpp
@@ -44,7 +44,7 @@ static const ADGameDescription gameDescriptions[] = {
AD_ENTRY1s("hyperdemo.mpc", "d8743b3b8be56486bcfb1398b2f2aad4", 13816461),
Common::EN_ANY,
Common::kPlatformUnknown,
- ADGF_NO_FLAGS,
+ ADGF_DEMO,
GUIO1(GUIO_NONE)
},
AD_TABLE_END_MARKER