diff options
-rw-r--r-- | engines/wintermute/wintermute.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/wintermute/wintermute.cpp b/engines/wintermute/wintermute.cpp index 1faa4a44f0..6546dcadaf 100644 --- a/engines/wintermute/wintermute.cpp +++ b/engines/wintermute/wintermute.cpp @@ -104,8 +104,14 @@ namespace WinterMute { debugC(3, kWinterMuteDebugExample | kWinterMuteDebugExample2, "Example debug call two"); CAdGame *game = new CAdGame; - CBPlatform::Initialize(game, NULL, 0); + int ret = 1; + + ret = CBPlatform::Initialize(game, NULL, 0); + + if (ret == 0) { + ret = CBPlatform::MessageLoop(); + } return Common::kNoError; } |