aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorEugene Sandulenko2009-05-21 22:23:04 +0000
committerEugene Sandulenko2009-05-21 22:23:04 +0000
commitb8749923090d60e2e73a602a6f0d62ea1361bde6 (patch)
tree99064e02e14313aa863749708de1d04f3f428025 /backends/platform
parent36fe37443d53c64d0172791a5bc6226c7fe199c0 (diff)
downloadscummvm-rg350-b8749923090d60e2e73a602a6f0d62ea1361bde6.tar.gz
scummvm-rg350-b8749923090d60e2e73a602a6f0d62ea1361bde6.tar.bz2
scummvm-rg350-b8749923090d60e2e73a602a6f0d62ea1361bde6.zip
Attempt to bring event recoredr to life. Still crashes on exit, though.
svn-id: r40775
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/sdl/sdl.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp
index d4f634e62f..c11c97c041 100644
--- a/backends/platform/sdl/sdl.cpp
+++ b/backends/platform/sdl/sdl.cpp
@@ -468,12 +468,14 @@ void OSystem_SDL::quit() {
free(_cursorPalette);
free(_mouseData);
- delete _savefile;
delete _timer;
SDL_Quit();
+ // Even Manager requires save manager for storing
+ // recorded events
delete getEventManager();
+ delete _savefile;
exit(0);
}