aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/configure.engine2
-rw-r--r--engines/hdb/detection.cpp14
2 files changed, 11 insertions, 5 deletions
diff --git a/engines/hdb/configure.engine b/engines/hdb/configure.engine
index 28eba05fc6..6e8649012f 100644
--- a/engines/hdb/configure.engine
+++ b/engines/hdb/configure.engine
@@ -1,3 +1,3 @@
# This file is included from the main "configure" script
# add_engine [name] [desc] [build-by-default] [subengines] [base games] [deps]
-add_engine hdb "Hyperspace Delivery Boy" yes \ No newline at end of file
+add_engine hdb "Hyperspace Delivery Boy!" yes \ No newline at end of file
diff --git a/engines/hdb/detection.cpp b/engines/hdb/detection.cpp
index 047252770d..e8421cfbe8 100644
--- a/engines/hdb/detection.cpp
+++ b/engines/hdb/detection.cpp
@@ -21,10 +21,16 @@
*/
#include "base/plugins.h"
+
#include "engines/advancedDetector.h"
#include "hdb.h"
+namespace HDB {
+const char *HDBGame::getGameId() const { return _gameDescription->gameId; }
+Common::Platform HDBGame::getPlatform() const { return _gameDescription->platform; }
+} // End of namespace HDB
+
static const PlainGameDescriptor hdbGames[] = {
{"hdb", "Hyperspace Delivery Boy!"},
{0, 0}
@@ -34,8 +40,8 @@ namespace HDB {
static const ADGameDescription gameDescriptions[] = {
{
"hdb",
- 0,
- AD_ENTRY1s("hyperdemo.mpc", "e331ccadb9b92d3e03f31a70b7814af1", 13816461),
+ "",
+ AD_ENTRY1s("hyperdemo.mpc", "d8743b3b8be56486bcfb1398b2f2aad4", 13816461),
Common::EN_ANY,
Common::kPlatformUnknown,
ADGF_NO_FLAGS,
@@ -43,7 +49,7 @@ static const ADGameDescription gameDescriptions[] = {
},
AD_TABLE_END_MARKER
};
-}
+} // End of namespace HDB
class HDBMetaEngine : public AdvancedMetaEngine {
public:
@@ -69,7 +75,7 @@ bool HDBMetaEngine::hasFeature(MetaEngineFeature f) const {
bool HDBMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const {
if (desc) {
-// *engine = new HDBGame()
+ *engine = new HDB::HDBGame(syst, desc);
}
return desc != nullptr;