aboutsummaryrefslogtreecommitdiff
path: root/engines/cine
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cine')
-rw-r--r--engines/cine/cine.cpp8
-rw-r--r--engines/cine/cine.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/engines/cine/cine.cpp b/engines/cine/cine.cpp
index d12ba61480..51f778610a 100644
--- a/engines/cine/cine.cpp
+++ b/engines/cine/cine.cpp
@@ -74,7 +74,7 @@ CineEngine::~CineEngine() {
Common::clearAllSpecialDebugLevels();
}
-int CineEngine::init() {
+Common::Error CineEngine::init() {
// Initialize backend
_system->beginGFXTransaction();
initCommonGFX(false);
@@ -91,10 +91,10 @@ int CineEngine::init() {
initialize();
- return 0;
+ return Common::kNoError;
}
-int CineEngine::go() {
+Common::Error CineEngine::go() {
CursorMan.showMouse(true);
mainLoop(1);
@@ -102,7 +102,7 @@ int CineEngine::go() {
delete[] collisionPage;
delete g_sound;
- return 0;
+ return Common::kNoError;
}
int CineEngine::getTimerDelay() const {
diff --git a/engines/cine/cine.h b/engines/cine/cine.h
index ef643a115e..933f692ec2 100644
--- a/engines/cine/cine.h
+++ b/engines/cine/cine.h
@@ -71,8 +71,8 @@ class CineEngine : public Engine {
protected:
// Engine APIs
- virtual int init();
- virtual int go();
+ virtual Common::Error init();
+ virtual Common::Error go();
virtual bool hasFeature(EngineFeature f) const;
void shutdown();