diff options
| author | Max Horn | 2008-11-05 17:24:56 +0000 |
|---|---|---|
| committer | Max Horn | 2008-11-05 17:24:56 +0000 |
| commit | f32be876337e3b280ee4ea257e9868a0d61e399d (patch) | |
| tree | 999037656b6a01f8a0e379801f64c79d18a76dba /engines/sky | |
| parent | fe2935ad4b550afa68977169140267ef2ef4a3da (diff) | |
| download | scummvm-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/sky')
| -rw-r--r-- | engines/sky/sky.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/engines/sky/sky.cpp b/engines/sky/sky.cpp index 8250766f1a..1abb3d94f6 100644 --- a/engines/sky/sky.cpp +++ b/engines/sky/sky.cpp @@ -23,8 +23,6 @@ * */ - - #include "base/plugins.h" #include "common/config-manager.h" @@ -115,7 +113,7 @@ public: virtual GameDescriptor findGame(const char *gameid) const; virtual GameList detectGames(const Common::FSList &fslist) const; - virtual PluginError createInstance(OSystem *syst, Engine **engine) const; + virtual Common::Error createInstance(OSystem *syst, Engine **engine) const; virtual SaveStateList listSaves(const char *target) const; }; @@ -203,10 +201,10 @@ GameList SkyMetaEngine::detectGames(const Common::FSList &fslist) const { return detectedGames; } -PluginError SkyMetaEngine::createInstance(OSystem *syst, Engine **engine) const { +Common::Error SkyMetaEngine::createInstance(OSystem *syst, Engine **engine) const { assert(engine); *engine = new Sky::SkyEngine(syst); - return kNoError; + return Common::kNoError; } SaveStateList SkyMetaEngine::listSaves(const char *target) const { |
