From 01c55efc95b2510eca1842058ab878e1ebd5ed4e Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 21 May 2010 18:22:11 +0000 Subject: SDL: Split quit() method into deinit() so error codes could be returned. svn-id: r49131 --- backends/platform/sdl/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/platform/sdl/main.cpp') 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; } -- cgit v1.2.3