aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-30 10:33:42 +0200
committerEugene Sandulenko2019-09-03 17:17:30 +0200
commit52f9e18d433fdb14d3171429837d4c1781fd719f (patch)
tree2648880ba5467859e12c58e1ba3072582cbd8851
parent102846becfb0b9b1f80b4903cc9e021d3b7dc172 (diff)
downloadscummvm-rg350-52f9e18d433fdb14d3171429837d4c1781fd719f.tar.gz
scummvm-rg350-52f9e18d433fdb14d3171429837d4c1781fd719f.tar.bz2
scummvm-rg350-52f9e18d433fdb14d3171429837d4c1781fd719f.zip
HDB: Use PocketPC platform enum
-rw-r--r--engines/hdb/detection.cpp18
1 files changed, 7 insertions, 11 deletions
diff --git a/engines/hdb/detection.cpp b/engines/hdb/detection.cpp
index 31f36b2193..aa586f9f16 100644
--- a/engines/hdb/detection.cpp
+++ b/engines/hdb/detection.cpp
@@ -29,10 +29,6 @@
namespace HDB {
-enum {
- kPPCFlag = ADGF_DEMO << 1
-};
-
const char *HDBGame::getGameId() const { return _gameDescription->gameId; }
Common::Platform HDBGame::getPlatform() const { return _gameDescription->platform; }
@@ -49,7 +45,7 @@ bool HDBGame::isDemo() const {
}
bool HDBGame::isPPC() const {
- return (getGameFlags() & kPPCFlag);
+ return (getPlatform() & Common::kPlatformPocketPC);
}
} // End of namespace HDB
@@ -85,8 +81,8 @@ static const ADGameDescription gameDescriptions[] = {
"",
AD_ENTRY1s("hyperspace.msd", "a62468904beb3efe16d4d64f3955a32e", 6825555),
Common::EN_ANY,
- Common::kPlatformUnknown, // PPC
- (uint32)kPPCFlag,
+ Common::kPlatformPocketPC,
+ ADGF_NO_FLAGS,
GUIO1(GUIO_NONE)
},
@@ -124,8 +120,8 @@ static const ADGameDescription gameDescriptions[] = {
"",
AD_ENTRY1s("hyperdemo.msd", "312525298ca9f5ac904883d1ce19dc0f", 3088651),
Common::EN_ANY,
- Common::kPlatformUnknown, // PPC
- (ADGF_DEMO || (uint32)kPPCFlag),
+ Common::kPlatformPocketPC,
+ ADGF_DEMO,
GUIO1(GUIO_NONE)
},
{
@@ -133,8 +129,8 @@ static const ADGameDescription gameDescriptions[] = {
"Handango",
AD_ENTRY1s("hyperdemo.msd", "2d4457b284a940b7058b36e5706b9951", 3094241),
Common::EN_ANY,
- Common::kPlatformUnknown, // PPC
- (ADGF_DEMO || (uint32)kPPCFlag),
+ Common::kPlatformPocketPC,
+ ADGF_DEMO,
GUIO1(GUIO_NONE)
},
AD_TABLE_END_MARKER