diff options
Diffstat (limited to 'engines/bladerunner')
-rw-r--r-- | engines/bladerunner/bladerunner.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/bladerunner/bladerunner.cpp b/engines/bladerunner/bladerunner.cpp index 70f61e75bc..6f6b2f259b 100644 --- a/engines/bladerunner/bladerunner.cpp +++ b/engines/bladerunner/bladerunner.cpp @@ -60,7 +60,8 @@ bool BladeRunnerEngine::hasFeature(EngineFeature f) const { Common::Error BladeRunnerEngine::run() { initGraphics(640, 480, true, &RGB555); - startup(); + if (!startup()) + return Common::Error(Common::kUnknownError, "Failed to initialize resources"); if (warnUserAboutUnsupportedGame()) { init2(); |