aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorMax Horn2005-05-10 22:56:25 +0000
committerMax Horn2005-05-10 22:56:25 +0000
commitb75c969e666b9f262a05e0d1e54d56f7d3e45441 (patch)
treee4868d14ac249a63e01f905472ec9be69f04a028 /base
parent55c37c18ceed916eb3744666d3d10783b0cf8783 (diff)
downloadscummvm-rg350-b75c969e666b9f262a05e0d1e54d56f7d3e45441.tar.gz
scummvm-rg350-b75c969e666b9f262a05e0d1e54d56f7d3e45441.tar.bz2
scummvm-rg350-b75c969e666b9f262a05e0d1e54d56f7d3e45441.zip
Moved class File and the MD5 stuff to namespace Common
svn-id: r18037
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;