diff options
author | Max Horn | 2008-11-06 17:05:54 +0000 |
---|---|---|
committer | Max Horn | 2008-11-06 17:05:54 +0000 |
commit | 40136f25909bd8773cac0f08740a36037395e9a7 (patch) | |
tree | bf61db949f9942c10cad667042b1e2403a9b51cd /engines/agi/agi.cpp | |
parent | 4c8f221fb8f5735932652c3279efd6f2e941d948 (diff) | |
download | scummvm-rg350-40136f25909bd8773cac0f08740a36037395e9a7.tar.gz scummvm-rg350-40136f25909bd8773cac0f08740a36037395e9a7.tar.bz2 scummvm-rg350-40136f25909bd8773cac0f08740a36037395e9a7.zip |
Switched various Engine APIs to use Common::Error
svn-id: r34916
Diffstat (limited to 'engines/agi/agi.cpp')
-rw-r--r-- | engines/agi/agi.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp index 3c1ec5efde..15af27b587 100644 --- a/engines/agi/agi.cpp +++ b/engines/agi/agi.cpp @@ -779,7 +779,7 @@ AgiEngine::~AgiEngine() { free(_predictiveDictText); } -int AgiBase::init() { +Common::Error AgiBase::init() { // Initialize backend _system->beginGFXTransaction(); @@ -791,10 +791,10 @@ int AgiBase::init() { _gfx->gfxSetPalette(); - return 0; + return Common::kNoError; } -int AgiEngine::go() { +Common::Error AgiEngine::go() { CursorMan.showMouse(true); report(" \nAGI engine %s is ready.\n", gScummVMVersion); @@ -808,7 +808,7 @@ int AgiEngine::go() { runGame(); - return 0; + return Common::kNoError; } void AgiEngine::syncSoundSettings() { |