aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/detection.cpp17
-rw-r--r--engines/hdb/hdb.h1
2 files changed, 14 insertions, 4 deletions
diff --git a/engines/hdb/detection.cpp b/engines/hdb/detection.cpp
index 6587b3c266..d1bd4ea7d5 100644
--- a/engines/hdb/detection.cpp
+++ b/engines/hdb/detection.cpp
@@ -28,6 +28,11 @@
#include "hdb/hdb.h"
namespace HDB {
+
+enum {
+ kPPCFlag = ADGF_DEMO << 1
+};
+
const char *HDBGame::getGameId() const { return _gameDescription->gameId; }
Common::Platform HDBGame::getPlatform() const { return _gameDescription->platform; }
@@ -43,6 +48,10 @@ bool HDBGame::isDemo() const {
return (getGameFlags() & ADGF_DEMO);
}
+bool HDBGame::isPPC() const {
+ return (getGameFlags() & kPPCFlag);
+}
+
} // End of namespace HDB
static const PlainGameDescriptor hdbGames[] = {
@@ -77,7 +86,7 @@ static const ADGameDescription gameDescriptions[] = {
AD_ENTRY1s("hyperspace.msd", "a62468904beb3efe16d4d64f3955a32e", 6825555),
Common::EN_ANY,
Common::kPlatformUnknown, // PPC
- ADGF_NO_FLAGS,
+ kPPCFlag,
GUIO1(GUIO_NONE)
},
@@ -96,7 +105,7 @@ static const ADGameDescription gameDescriptions[] = {
"",
AD_ENTRY1s("hyperdemo.mpc", "f3bc878e179f00b8666a9846f3d9f9f5", 5236568),
Common::EN_ANY,
- Common::kPlatformUnknown, // FIXME
+ Common::kPlatformWindows,
ADGF_DEMO,
GUIO1(GUIO_NONE)
},
@@ -116,7 +125,7 @@ static const ADGameDescription gameDescriptions[] = {
AD_ENTRY1s("hyperdemo.msd", "312525298ca9f5ac904883d1ce19dc0f", 3088651),
Common::EN_ANY,
Common::kPlatformUnknown, // PPC
- ADGF_DEMO,
+ (ADGF_DEMO || kPPCFlag),
GUIO1(GUIO_NONE)
},
{
@@ -125,7 +134,7 @@ static const ADGameDescription gameDescriptions[] = {
AD_ENTRY1s("hyperdemo.msd", "2d4457b284a940b7058b36e5706b9951", 3094241),
Common::EN_ANY,
Common::kPlatformUnknown, // PPC
- ADGF_DEMO,
+ (ADGF_DEMO || kPPCFlag),
GUIO1(GUIO_NONE)
},
AD_TABLE_END_MARKER
diff --git a/engines/hdb/hdb.h b/engines/hdb/hdb.h
index d55f8b38ab..7830f938fd 100644
--- a/engines/hdb/hdb.h
+++ b/engines/hdb/hdb.h
@@ -157,6 +157,7 @@ public:
uint32 getGameFlags() const;
Common::Platform getPlatform() const;
bool isDemo() const;
+ bool isPPC() const;
/*
Game System Pointers