diff options
Diffstat (limited to 'engines/hopkins/hopkins.cpp')
-rw-r--r-- | engines/hopkins/hopkins.cpp | 31 |
1 files changed, 9 insertions, 22 deletions
diff --git a/engines/hopkins/hopkins.cpp b/engines/hopkins/hopkins.cpp index 59d042ec3e..ed94ad8e2b 100644 --- a/engines/hopkins/hopkins.cpp +++ b/engines/hopkins/hopkins.cpp @@ -99,28 +99,15 @@ Common::Error HopkinsEngine::run() { _fileManager.initCensorship(); initializeSystem(); - if (getPlatform() == Common::kPlatformLinux) { - if (getIsDemo()) - runLinuxDemo(); - else - runFull(); - } else if (getPlatform() == Common::kPlatformWindows) { - if (getIsDemo()) - runWin95Demo(); - else - runFull(); - } else if (getPlatform() == Common::kPlatformBeOS) { - if (getIsDemo()) { - warning("Unhandled version, switching to linux demo"); - runLinuxDemo(); - } else - runFull(); - } else { - if (getIsDemo()) { - warning("Unhandled version, switching to linux demo"); - runLinuxDemo(); - } else - runFull(); + if (!getIsDemo()) + runFull(); + else if (getPlatform() == Common::kPlatformLinux) + runLinuxDemo(); + else if (getPlatform() == Common::kPlatformWindows) + runWin95Demo(); + else { + warning("Unhandled version, switching to linux demo. Please report this version to ScummVM developers"); + runLinuxDemo(); } return Common::kNoError; |