aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl/sdl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/sdl/sdl.cpp')
-rw-r--r--backends/sdl/sdl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/sdl/sdl.cpp b/backends/sdl/sdl.cpp
index 4fa64e75d2..2d567ea769 100644
--- a/backends/sdl/sdl.cpp
+++ b/backends/sdl/sdl.cpp
@@ -92,14 +92,14 @@ int main(int argc, char *argv[]) {
#endif // defined(__SYMBIAN32__)
+ g_system = new OSystem_SDL();
+ assert(g_system);
+
// Invoke the actual ScummVM main entry point:
return scummvm_main(argc, argv);
}
#endif
-OSystem *OSystem_SDL_create() {
- return new OSystem_SDL();
-}
void OSystem_SDL::initBackend() {
assert(!_inited);