aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2012-11-18 16:19:26 +1100
committerPaul Gilbert2012-11-18 16:19:26 +1100
commit9bc308b32bc521b6b7e25956ada534ad92be6485 (patch)
tree845b92aa4429bc96499307c989b63200a654720c /engines
parent67ae9e93069794532f43e43ac0396389a64c13bb (diff)
downloadscummvm-rg350-9bc308b32bc521b6b7e25956ada534ad92be6485.tar.gz
scummvm-rg350-9bc308b32bc521b6b7e25956ada534ad92be6485.tar.bz2
scummvm-rg350-9bc308b32bc521b6b7e25956ada534ad92be6485.zip
HOPKINS: Remove old stub event loop from the HopkinsEngine::run method
Diffstat (limited to 'engines')
-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;