aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/dingux
diff options
context:
space:
mode:
authorMax Horn2010-11-28 15:44:34 +0000
committerMax Horn2010-11-28 15:44:34 +0000
commit8f37f6634c56c5293ef9e0de1b9be2fce318b1de (patch)
tree23f85169bfb26dc64a9daf1cc3a5599c9abd32ed /backends/platform/dingux
parent1d818d940a0275576cf118667162be4ee07cc1fc (diff)
downloadscummvm-rg350-8f37f6634c56c5293ef9e0de1b9be2fce318b1de.tar.gz
scummvm-rg350-8f37f6634c56c5293ef9e0de1b9be2fce318b1de.tar.bz2
scummvm-rg350-8f37f6634c56c5293ef9e0de1b9be2fce318b1de.zip
SDL: Merge deinit() into OSystem_SDL destructor and overload fatalError
svn-id: r54526
Diffstat (limited to 'backends/platform/dingux')
-rw-r--r--backends/platform/dingux/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/platform/dingux/main.cpp b/backends/platform/dingux/main.cpp
index 91899a55cf..c5dccc5f50 100644
--- a/backends/platform/dingux/main.cpp
+++ b/backends/platform/dingux/main.cpp
@@ -46,7 +46,9 @@ int main(int argc, char* argv[]) {
// Invoke the actual ScummVM main entry point:
int res = scummvm_main(argc, argv);
- ((OSystem_SDL_Dingux *)g_system)->deinit();
+
+ // Free OSystem
+ delete (OSystem_SDL_Dingux *)g_system;
return res;
}