diff options
| author | Matthew Hoops | 2011-08-08 21:36:50 -0400 |
|---|---|---|
| committer | Matthew Hoops | 2011-08-08 21:36:50 -0400 |
| commit | 677aa783707c566feea50608e2f0ba669037888b (patch) | |
| tree | 8bed08790a96c7c25a5355a20fe00e7be30aed69 /base | |
| parent | 9c52724ce56c16c7fe1e9fdd3532d7e14b53c238 (diff) | |
| parent | dbceb0a77d64d6e16b0186417ab92c425eddb173 (diff) | |
| download | scummvm-rg350-677aa783707c566feea50608e2f0ba669037888b.tar.gz scummvm-rg350-677aa783707c566feea50608e2f0ba669037888b.tar.bz2 scummvm-rg350-677aa783707c566feea50608e2f0ba669037888b.zip | |
Merge remote branch 'upstream/master' into soccer
Diffstat (limited to 'base')
| -rw-r--r-- | base/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/main.cpp b/base/main.cpp index 717ccb3344..780015d307 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -419,6 +419,10 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) { // Try to run the game Common::Error result = runGame(plugin, system, specialDebug); + // Flush Event recorder file. The recorder does not get reinitialized for next game + // which is intentional. Only single game per session is allowed. + g_eventRec.deinit(); + #if defined(UNCACHED_PLUGINS) && defined(DYNAMIC_MODULES) // do our best to prevent fragmentation by unloading as soon as we can PluginManager::instance().unloadPluginsExcept(PLUGIN_TYPE_ENGINE, NULL, false); |
