diff options
Diffstat (limited to 'engines/cine/cine.h')
-rw-r--r-- | engines/cine/cine.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/engines/cine/cine.h b/engines/cine/cine.h index 29d2f05b89..4800604791 100644 --- a/engines/cine/cine.h +++ b/engines/cine/cine.h @@ -71,8 +71,15 @@ class CineEngine : public Engine { protected: // Engine APIs - virtual Common::Error init(); - virtual Common::Error go(); + Common::Error init(); + Common::Error go(); + virtual Common::Error run() { + Common::Error err; + err = init(); + if (err != Common::kNoError) + return err; + return go(); + } virtual bool hasFeature(EngineFeature f) const; void shutdown(); |