aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorMax Horn2006-04-02 14:31:23 +0000
committerMax Horn2006-04-02 14:31:23 +0000
commite9bc5ba280d4b893feb8b704423a9a757f0141bf (patch)
tree6589f8623fa517f2c9223f29cfa72b61eea2e6d8 /base
parent9217472f0e4e801659c0a448dcbf57c28fd36ee2 (diff)
downloadscummvm-rg350-e9bc5ba280d4b893feb8b704423a9a757f0141bf.tar.gz
scummvm-rg350-e9bc5ba280d4b893feb8b704423a9a757f0141bf.tar.bz2
scummvm-rg350-e9bc5ba280d4b893feb8b704423a9a757f0141bf.zip
Backends now are also responsile for deiniting properly. In particular, moved the call to quit() from scummvm_main to the various backend main routines (porters may want to replace it by something different)
svn-id: r21559
Diffstat (limited to 'base')
-rw-r--r--base/main.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/base/main.cpp b/base/main.cpp
index 4baa6a6ca4..f53f0895cf 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -398,11 +398,8 @@ extern "C" int scummvm_main(int argc, char *argv[]) {
running = launcherDialog(detector, system);
}
- // ...and quit (the return 0 should never be reached)
+ // Deinit the timer
delete Common::g_timer;
- system.quit();
-
- error("If you are seeing this, your OSystem backend is not working properly");
return 0;
}