aboutsummaryrefslogtreecommitdiff
path: root/backends/dc/dcmain.cpp
diff options
context:
space:
mode:
authorMax Horn2006-05-04 23:24:09 +0000
committerMax Horn2006-05-04 23:24:09 +0000
commit5d5c02d66c680ef442f68138bae6a403e6bc3336 (patch)
treecd52747d0e464e82c963aa588631eed244a65357 /backends/dc/dcmain.cpp
parentc46301bcc285fd216ab76095e81dc54b3ba1d127 (diff)
downloadscummvm-rg350-5d5c02d66c680ef442f68138bae6a403e6bc3336.tar.gz
scummvm-rg350-5d5c02d66c680ef442f68138bae6a403e6bc3336.tar.bz2
scummvm-rg350-5d5c02d66c680ef442f68138bae6a403e6bc3336.zip
Moved GameDetector::setTarget & findGame to the new namespace Base; moved their declaration to base/game.h, their implementation to base/main.cpp (both until we can come up with a better location). Also moved detectMain into main.cpp, where it now is a local static function
svn-id: r22346
Diffstat (limited to 'backends/dc/dcmain.cpp')
-rw-r--r--backends/dc/dcmain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/dc/dcmain.cpp b/backends/dc/dcmain.cpp
index 67081533b3..83544ae7c6 100644
--- a/backends/dc/dcmain.cpp
+++ b/backends/dc/dcmain.cpp
@@ -24,7 +24,7 @@
#include <common/stdafx.h>
#include <common/scummsys.h>
#include <base/engine.h>
-#include <base/gameDetector.h>
+#include <base/game.h>
#include <base/main.h>
#include <base/plugins.h>
#include "dc.h"
@@ -224,7 +224,7 @@ int DCLauncherDialog::runModal()
ConfMan.set("path", dir, base);
// Set the target.
- GameDetector::setTarget(base);
+ Base::setTarget(base);
return 0;
}