aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Persson2006-12-28 09:12:58 +0000
committerLars Persson2006-12-28 09:12:58 +0000
commit8acfe5f557e1cfed4632a796d9003f846483ed13 (patch)
tree2b04d88d3d0f8b78ea23838e207ede8bb673df7f
parentf01f4eea980924df60b8301eda02fb4acbb71c94 (diff)
downloadscummvm-rg350-8acfe5f557e1cfed4632a796d9003f846483ed13.tar.gz
scummvm-rg350-8acfe5f557e1cfed4632a796d9003f846483ed13.tar.bz2
scummvm-rg350-8acfe5f557e1cfed4632a796d9003f846483ed13.zip
Updated quit handling
svn-id: r24939
-rw-r--r--backends/platform/symbian/src/SymbianOS.cpp6
-rw-r--r--backends/platform/symbian/src/SymbianOS.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/backends/platform/symbian/src/SymbianOS.cpp b/backends/platform/symbian/src/SymbianOS.cpp
index 0b450a8e6f..38ab872ae5 100644
--- a/backends/platform/symbian/src/SymbianOS.cpp
+++ b/backends/platform/symbian/src/SymbianOS.cpp
@@ -157,6 +157,12 @@ void Normal1x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPit
}
}
+// Overloaded from SDL_Commmon
+void OSystem_SDL_Symbian::quit() {
+ delete GUI_Actions::Instance();
+ OSystem_SDL::quit();
+}
+
bool OSystem_SDL_Symbian::setSoundCallback(SoundProc proc, void *param) {
// First save the proc and param
diff --git a/backends/platform/symbian/src/SymbianOS.h b/backends/platform/symbian/src/SymbianOS.h
index 955f59c59c..28f579e412 100644
--- a/backends/platform/symbian/src/SymbianOS.h
+++ b/backends/platform/symbian/src/SymbianOS.h
@@ -59,6 +59,8 @@ public:
//
virtual bool setSoundCallback(SoundProc proc, void *param); // overloaded by CE backend
+ // Overloaded from SDL_Commmon
+ void quit();
protected:
//
// The mixer callback function, passed on to OSystem::setSoundCallback().