aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1
diff options
context:
space:
mode:
authorMax Horn2008-11-05 17:24:56 +0000
committerMax Horn2008-11-05 17:24:56 +0000
commitf32be876337e3b280ee4ea257e9868a0d61e399d (patch)
tree999037656b6a01f8a0e379801f64c79d18a76dba /engines/sword1
parentfe2935ad4b550afa68977169140267ef2ef4a3da (diff)
downloadscummvm-rg350-f32be876337e3b280ee4ea257e9868a0d61e399d.tar.gz
scummvm-rg350-f32be876337e3b280ee4ea257e9868a0d61e399d.tar.bz2
scummvm-rg350-f32be876337e3b280ee4ea257e9868a0d61e399d.zip
Turned enum PluginError into Common::Error, which in the future is to be used in more places. Help with this is highly welcome
svn-id: r34906
Diffstat (limited to 'engines/sword1')
-rw-r--r--engines/sword1/sword1.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/sword1/sword1.cpp b/engines/sword1/sword1.cpp
index 982b6cf6e4..9a6bfac030 100644
--- a/engines/sword1/sword1.cpp
+++ b/engines/sword1/sword1.cpp
@@ -23,7 +23,6 @@
*
*/
-
#include "sword1/sword1.h"
#include "base/plugins.h"
@@ -101,7 +100,7 @@ public:
virtual GameList detectGames(const Common::FSList &fslist) const;
virtual SaveStateList listSaves(const char *target) const;
- virtual PluginError createInstance(OSystem *syst, Engine **engine) const;
+ virtual Common::Error createInstance(OSystem *syst, Engine **engine) const;
};
bool SwordMetaEngine::hasFeature(MetaEngineFeature f) const {
@@ -195,10 +194,10 @@ GameList SwordMetaEngine::detectGames(const Common::FSList &fslist) const {
return detectedGames;
}
-PluginError SwordMetaEngine::createInstance(OSystem *syst, Engine **engine) const {
+Common::Error SwordMetaEngine::createInstance(OSystem *syst, Engine **engine) const {
assert(engine);
*engine = new SwordEngine(syst);
- return kNoError;
+ return Common::kNoError;
}
SaveStateList SwordMetaEngine::listSaves(const char *target) const {