aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/saga.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/saga/saga.h')
-rw-r--r--engines/saga/saga.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/saga/saga.h b/engines/saga/saga.h
index 9f6b0d814b..1e3a17bacf 100644
--- a/engines/saga/saga.h
+++ b/engines/saga/saga.h
@@ -445,6 +445,13 @@ public:
// Engine APIs
Common::Error init();
Common::Error go();
+ virtual Common::Error run() {
+ Common::Error err;
+ err = init();
+ if (err != Common::kNoError)
+ return err;
+ return go();
+ }
bool hasFeature(EngineFeature f) const;
void syncSoundSettings();
void pauseEngineIntern(bool pause);