aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/win32/win32.cpp
diff options
context:
space:
mode:
authorAlejandro Marzini2010-06-24 17:37:09 +0000
committerAlejandro Marzini2010-06-24 17:37:09 +0000
commit307d7aeb4fc044d925295b6ed1d4c7c359a99920 (patch)
tree168f5c576534ab3c91ba183f5ae4adf5a29622a1 /backends/platform/sdl/win32/win32.cpp
parent86a502c1de0441431c4a002479294db4006d6310 (diff)
downloadscummvm-rg350-307d7aeb4fc044d925295b6ed1d4c7c359a99920.tar.gz
scummvm-rg350-307d7aeb4fc044d925295b6ed1d4c7c359a99920.tar.bz2
scummvm-rg350-307d7aeb4fc044d925295b6ed1d4c7c359a99920.zip
Added a init function to OSystem_SDL for early backend setup, and so allowing better sub classing.
svn-id: r50224
Diffstat (limited to 'backends/platform/sdl/win32/win32.cpp')
-rw-r--r--backends/platform/sdl/win32/win32.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/platform/sdl/win32/win32.cpp b/backends/platform/sdl/win32/win32.cpp
index 0eb4c467b4..4d585add77 100644
--- a/backends/platform/sdl/win32/win32.cpp
+++ b/backends/platform/sdl/win32/win32.cpp
@@ -47,8 +47,14 @@
#define DEFAULT_CONFIG_FILE "scummvm.ini"
OSystem_Win32::OSystem_Win32() {
+}
+
+void OSystem_Win32::init() {
// Initialze File System Factory
_fsFactory = new WindowsFilesystemFactory();
+
+ // Invoke parent implementation of this method
+ OSystem_SDL::init();
}
Common::String OSystem_Win32::getDefaultConfigFileName() {