diff options
-rw-r--r-- | base/engine.cpp | 7 | ||||
-rw-r--r-- | base/engine.h | 3 |
2 files changed, 0 insertions, 10 deletions
diff --git a/base/engine.cpp b/base/engine.cpp index 38e2b9e0dc..ae8bfa0dcf 100644 --- a/base/engine.cpp +++ b/base/engine.cpp @@ -43,9 +43,6 @@ Engine::Engine(OSystem *syst) _timer = Common::g_timer; - // Add default file directory - Common::File::addDefaultDirectory(_gameDataPath); - _saveFileMan = _system->getSavefileManager(); _autosavePeriod = ConfMan.getInt("autosave_period"); @@ -147,10 +144,6 @@ bool Engine::shouldPerformAutoSave(int lastSaveTime) { return _autosavePeriod != 0 && diff > _autosavePeriod * 1000; } -const char *Engine::getGameDataPath() const { - return _gameDataPath.c_str(); -} - void Engine::errorString(const char *buf1, char *buf2) { strcpy(buf2, buf1); } diff --git a/base/engine.h b/base/engine.h index da01a34eb9..a786a73cc3 100644 --- a/base/engine.h +++ b/base/engine.h @@ -66,9 +66,6 @@ public: */ virtual int go() = 0; - /** Get the path to the game data directory. */ - virtual const char *getGameDataPath() const; - /** Specific for each engine: prepare error string. */ virtual void errorString(const char *buf_input, char *buf_output); |