aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-15 14:44:20 +0200
committerEugene Sandulenko2019-09-03 17:17:21 +0200
commit6fdd336ae4a4cae45976fd4087fdb7071ea5a8fc (patch)
tree791aef25a27f4264dab7aa118362bb13c52ebce5
parent462d48a901c3edc76bc117fed60606da5f06cc2d (diff)
downloadscummvm-rg350-6fdd336ae4a4cae45976fd4087fdb7071ea5a8fc.tar.gz
scummvm-rg350-6fdd336ae4a4cae45976fd4087fdb7071ea5a8fc.tar.bz2
scummvm-rg350-6fdd336ae4a4cae45976fd4087fdb7071ea5a8fc.zip
HDB: Move HDBGame::hasFeature() to detection.cpp for consistency
-rw-r--r--engines/hdb/detection.cpp5
-rw-r--r--engines/hdb/hdb.cpp5
2 files changed, 5 insertions, 5 deletions
diff --git a/engines/hdb/detection.cpp b/engines/hdb/detection.cpp
index a63b85fe89..b8bf22e1c8 100644
--- a/engines/hdb/detection.cpp
+++ b/engines/hdb/detection.cpp
@@ -116,6 +116,11 @@ bool HDBMetaEngine::hasFeature(MetaEngineFeature f) const {
(f == kSupportsLoadingDuringStartup);
}
+bool HDB::HDBGame::hasFeature(Engine::EngineFeature f) const {
+ warning("FIXME: quitGame() exits the application, instead of RTL");
+ return (f == kSupportsRTL);
+}
+
int HDBMetaEngine::getMaximumSaveSlot() const { return 9; }
bool HDBMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const {
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp
index cbba9af764..677b397533 100644
--- a/engines/hdb/hdb.cpp
+++ b/engines/hdb/hdb.cpp
@@ -87,11 +87,6 @@ HDBGame::~HDBGame() {
DebugMan.clearAllDebugChannels();
}
-bool HDBGame::hasFeature(Engine::EngineFeature f) const {
- warning("FIXME: quitGame() exits the application, instead of RTL");
- return (f == kSupportsRTL);
-}
-
bool HDBGame::init() {
/*
Game Subsystem Initializations