diff options
author | Max Horn | 2006-04-01 21:43:49 +0000 |
---|---|---|
committer | Max Horn | 2006-04-01 21:43:49 +0000 |
commit | d61b1045682e054cb99c3497da8b79a48f104c28 (patch) | |
tree | aa8f236005b39d188a90cc2841480514f81a288f | |
parent | f59d472155729a7a248b4b3d834768cac82014ff (diff) | |
download | scummvm-rg350-d61b1045682e054cb99c3497da8b79a48f104c28.tar.gz scummvm-rg350-d61b1045682e054cb99c3497da8b79a48f104c28.tar.bz2 scummvm-rg350-d61b1045682e054cb99c3497da8b79a48f104c28.zip |
Removed yet another superfluous addDefaultDirectory call, and removed the unused Engine::getGameDataPath method (just use _gameDataPath directly if you need this)
svn-id: r21534
-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); |