aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hopkins/hopkins.cpp17
1 files changed, 3 insertions, 14 deletions
diff --git a/engines/hopkins/hopkins.cpp b/engines/hopkins/hopkins.cpp
index de8f41e895..7f261cb698 100644
--- a/engines/hopkins/hopkins.cpp
+++ b/engines/hopkins/hopkins.cpp
@@ -105,25 +105,14 @@ Common::Error HopkinsEngine::run() {
_soundManager.WSOUND_INIT();
- bool retVal;
if (getPlatform() == Common::kPlatformLinux) {
if (getIsDemo())
- retVal = runLinuxDemo();
+ runLinuxDemo();
else
- retVal = runLinuxFull();
+ runLinuxFull();
} else {
warning("Unhandled version, switching to linux demo");
- retVal = runLinuxDemo();
- }
-
- if (!retVal)
- return Common::kNoError;
-
- // Stub event loop
- Common::Event evt;
- while (!g_system->getEventManager()->shouldQuit()) {
- while (g_system->getEventManager()->pollEvent(evt))
- g_system->updateScreen();
+ runLinuxDemo();
}
return Common::kNoError;