aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorDavid Corrales2007-07-08 16:58:54 +0000
committerDavid Corrales2007-07-08 16:58:54 +0000
commit9bfe5d53540af7dc9bf0214202f4e35b272320ea (patch)
tree69dcaf6f735e9fd0913a3e2f163852d4b9af87e3 /base
parent256e4d9521b79160d1f9ed670656097a96dc5a34 (diff)
parent17da12ca07a1f18f3fe1ef5b0c2c0cd9fd8359b4 (diff)
downloadscummvm-rg350-9bfe5d53540af7dc9bf0214202f4e35b272320ea.tar.gz
scummvm-rg350-9bfe5d53540af7dc9bf0214202f4e35b272320ea.tar.bz2
scummvm-rg350-9bfe5d53540af7dc9bf0214202f4e35b272320ea.zip
Merged the FSNode branch with trunk r27681:27969
svn-id: r27970
Diffstat (limited to 'base')
-rw-r--r--base/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/base/main.cpp b/base/main.cpp
index 85e711bce1..d8239db6e4 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -203,6 +203,9 @@ static int runGame(const Plugin *plugin, OSystem &system, const Common::String &
// the command line arugments here
Common::enableSpecialDebugLevelList(edebuglevels);
+ // Inform backend that the engine is about to be run
+ system.engineInit();
+
int result;
// Init the engine (this might change the screen parameters)
@@ -216,6 +219,9 @@ static int runGame(const Plugin *plugin, OSystem &system, const Common::String &
// TODO: Set an error flag, notify user about the problem
}
+ // Inform backend that the engine finished
+ system.engineDone();
+
// We clear all debug levels again even though the engine should do it
Common::clearAllSpecialDebugLevels();