aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/engine.cpp4
-rw-r--r--base/main.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/base/engine.cpp b/base/engine.cpp
index 0e01fa5b3b..081fd27b4f 100644
--- a/base/engine.cpp
+++ b/base/engine.cpp
@@ -42,13 +42,13 @@ Engine::Engine(OSystem *syst)
_timer = g_timer;
// Add default file directory
- File::addDefaultDirectory(_gameDataPath);
+ Common::File::addDefaultDirectory(_gameDataPath);
_saveFileMan = _system->getSavefileManager();
}
Engine::~Engine() {
- File::resetDefaultDirectories();
+ Common::File::resetDefaultDirectories();
delete _mixer;
delete _saveFileMan;
diff --git a/base/main.cpp b/base/main.cpp
index 287b0a891a..32e63c9f74 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -279,10 +279,10 @@ static int runGame(GameDetector &detector, OSystem &system) {
// Add extrapath (if any) to the directory search list
if (ConfMan.hasKey("extrapath"))
- File::addDefaultDirectory(ConfMan.get("extrapath"));
+ Common::File::addDefaultDirectory(ConfMan.get("extrapath"));
if (ConfMan.hasKey("extrapath", Common::ConfigManager::kApplicationDomain))
- File::addDefaultDirectory(ConfMan.get("extrapath", Common::ConfigManager::kApplicationDomain));
+ Common::File::addDefaultDirectory(ConfMan.get("extrapath", Common::ConfigManager::kApplicationDomain));
int result;