aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/main.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2010-05-21 18:22:11 +0000
committerEugene Sandulenko2010-05-21 18:22:11 +0000
commit01c55efc95b2510eca1842058ab878e1ebd5ed4e (patch)
tree0723c1c5c314813583e04f14aab56eb13c94089a /backends/platform/sdl/main.cpp
parente7330aa0afec88c6d7327ac9fd1a49736daaad6f (diff)
downloadscummvm-rg350-01c55efc95b2510eca1842058ab878e1ebd5ed4e.tar.gz
scummvm-rg350-01c55efc95b2510eca1842058ab878e1ebd5ed4e.tar.bz2
scummvm-rg350-01c55efc95b2510eca1842058ab878e1ebd5ed4e.zip
SDL: Split quit() method into deinit() so error codes could be returned.
svn-id: r49131
Diffstat (limited to 'backends/platform/sdl/main.cpp')
-rw-r--r--backends/platform/sdl/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/sdl/main.cpp b/backends/platform/sdl/main.cpp
index b38b815438..13e614a4a2 100644
--- a/backends/platform/sdl/main.cpp
+++ b/backends/platform/sdl/main.cpp
@@ -63,7 +63,7 @@ int main(int argc, char *argv[]) {
// Invoke the actual ScummVM main entry point:
int res = scummvm_main(argc, argv);
- g_system->quit(); // TODO: Consider removing / replacing this!
+ ((OSystem_SDL *)g_system)->deinit();
return res;
}